Guile Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

Guile Home | Main Index | Thread Index