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)


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.

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