On 3/17/06, Alex Shinn <[EMAIL PROTECTED]> 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


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to