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: Polymorphism in Scheme (Re: records)


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"))

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