This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: records



Jost Boekemeier wrote:

> If display, + and others were not user visible we would not 
> have any problem whith them.  But they are visible to the user 
> and you can't create a polymorphic system on top of an generic 
> interface.

There's no such thing as "can't"...

(define (display a) (let ((old-disp display)) 
      (if (foobartype? a) (display-foobar a) (old-disp a))))
 
-- 
Chris Bitmead
mailto:chris@tech.com.au

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]