This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
Re: Polymorphism in Scheme (Re: records)
- To: guile@sourceware.cygnus.com
- Subject: Re: Polymorphism in Scheme (Re: records)
- From: forcer <forcer@mindless.com>
- Date: 05 Aug 1999 06:29:12 +0200
- References: <199907210938.CAA16432@mingle.glug.org> <m37lnsya34.fsf@savonarola.red-bean.com> <p2tiu7cbpdf.fsf@grapefruit.zrz.tu-berlin.de> <3794F0DA.ECEF06EC@tech.com.au> <p2temhz4jlt.fsf@grapefruit.zrz.tu-berlin.de> <37986F16.2750BBBB@tech.com.au> <p2tu2qvp7u3.fsf@grapefruit.zrz.tu-berlin.de> <37990441.DF571BFE@tech.com.au> <p2temhy454r.fsf@grapefruit.zrz.tu-berlin.de> <hhoggn769n.fsf_-_@forcix.roof.lan> <xy7k8rb480c.fsf@mdj-pc.nada.kth.se>
Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:
> forcer <forcer@mindless.com> writes:
>
> > I'd call this quite nice ad-hoc polymorphism.
> > This implementation uses define-syntax which guile still lacks,
> > sadly.
>
> While I agree that it is sad, the degree of lacking isn't quite enough
> to grant the term "lacks".
>
> Try (use-syntax (ice-9 syncase)) or (use-module (ice-9 syncase)).
> The former is more correct. The latter is correct in almost all cases
> and more efficient.
Wow. I didn't know about that - thanks :)
-forcer
--
((email . "forcer@mindless.com") (www . "http://forcix.cx/")
(irc . "forcer@#StarWars (IRCnet)") (gpg . "/other/forcer.gpg"))