chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] tinyclos value matching?


From: felix winkelmann
Subject: Re: [Chicken-users] tinyclos value matching?
Date: Fri, 17 Mar 2006 08:25:52 +0100

On 3/17/06, Alex Shinn <address@hidden> wrote:
> >
> > (define-class <my-generic> (<generic>) () <entity-class>)
>
> Ah, that does the trick, thanks Felix!
>
> Just replace
>
>   (define <value-generic> <generic>)
>
> with
>
>   (define-class <value-generic> (<generic>) () <entity-class>)
>
> and it works without slowing down other generics.
>

(BTW, I've added a check in tinyclos to catch initializing a non-entity
generic - it handles this particular case, but I don't know about others)


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]