[closer-devel] using a custom unbound slot marker

Attila Lendvai attila.lendvai at gmail.com
Mon Oct 30 02:17:25 UTC 2006


hi!

i hope someone around here can help me or turn me to the right directions:

i'm generating custom accessors using standard-instance-access and i'd like
to use a custom unbound slot value, so i can quickly compare to it with 'eq.

the most obvious idea was to set the slot-definition-initform and
slot-definition-initfunction one way or another on the effective slot at
some point if it is not already set. i've tried to do that with sbcl several
ways, but no luck. somehow i always get the SB-PCL::..SLOT-UNBOUND.. marker
even though the initform and initfunction slots are properly set on the
effective slot (but probably at the wrong time).

does anyone have any experience with this? should i just use
SB-PCL::..SLOT-UNBOUND.. directly? that would make it hopelessly
unportable...

any help is appreciated,

-- 
- attila

"- The truth is that I've been too considerate, and so became
unintentionally cruel...
- I understand.
- No, you don't understand! We don't speak the same language!"
(Ingmar Bergman - Smultronstället)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/closer-devel/attachments/20061030/50cdbb55/attachment.html>


More information about the closer-devel mailing list