This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
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
- References:
- records
- From: thi <ttn@mingle.glug.org>
- Re: records
- From: Jim Blandy <jimb@red-bean.com>
- Re: records
- From: Jost Boekemeier <jostobfe@linux.zrz.TU-Berlin.DE>
- Re: records
- From: Jost Boekemeier <jostobfe@linux.zrz.TU-Berlin.DE>
- Re: records
- From: Chris Bitmead <chris@tech.com.au>
- Re: records
- From: Jost Boekemeier <jostobfe@linux.zrz.TU-Berlin.DE>
- Re: records
- From: Chris Bitmead <chris@tech.com.au>
- Re: records
- From: Jost Boekemeier <jostobfe@linux.zrz.TU-Berlin.DE>
- Re: records
- From: Miroslav Silovic <silovic@zesoi.fer.hr>
- Re: records
- From: Jost Boekemeier <jostobfe@linux.zrz.TU-Berlin.DE>