[closer-devel] Slot definition inheritance

Nick Bourner nickb42 at gmail.com
Sun Mar 5 20:16:59 UTC 2006


Hi all,

Not sure this is entirely on topic here, but it's a MOP question and
I'm using closer-mop :-)

Does anyone know how (or indeed if it is possible) to have a slot
inherit from two different slot definitions, so that the effective
slot definition is the union of the two direct slot definitions.
There's code in section 3.5.2 of AMOP that seems like it would be
possible by making an effective slot definition on the fly using
"make-effective-slot-definition" but that doesn't seem to exist in
SBCL or OpenMCL, or at least it isn't exported from wherever it's
hiding.

I have a suspicion I'm going to have to do this by making one slot
definition a subclass of the other, but something like the AMOP stuff
would sure be handy.

Anyone know for sure?

Thanks,
Nick



More information about the closer-devel mailing list