guile-user
[Top][All Lists]
Advanced

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

Re: GOOPS:Can I just overload "slot-set!" under #:virtual and let alone


From: Neil Jerram
Subject: Re: GOOPS:Can I just overload "slot-set!" under #:virtual and let alone "slot-ref" ?
Date: Fri, 03 Dec 2010 18:22:45 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Nala Ginrut <address@hidden> writes:

> yeah~you hit it precisely!
> But I'm not sure if I modified the slot-seting call

I'm not clear what you mean by that.

> ,the result is all
> slot-set! procedure would be effected?

No, that's not the case for either of my suggestions.

If you invented something like `#:allocation #:custom-setter', it would
only apply to slots that had `#:allocation #:custom-setter' in their
slot definition.

Regards,
        Neil



reply via email to

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