29 Jul 17:32
write-object from write vs. from display
From: Leonardo Boiko <leoboiko <at> gmail.com>
Subject: write-object from write vs. from display
Newsgroups: gmane.lisp.scheme.gauche
Date: 2008-07-29 15:33:04 GMT
Subject: write-object from write vs. from display
Newsgroups: gmane.lisp.scheme.gauche
Date: 2008-07-29 15:33:04 GMT
Hi. According to gauche manual,
When `write' and `display' encounter an object of a user-defined
class, they call the generic function `write-object'.
The same generic is called for both methods? How do I make my objects
react differently to 'write' and 'display'?
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
RSS Feed