[elephant-devel] finalize-inheritance
Henrik Hjelte
henrik at evahjelte.com
Fri May 13 05:18:05 UTC 2011
On Thu, May 12, 2011 at 7:05 PM, Alex Mizrahi <alex.mizrahi at gmail.com> wrote:
> I've found the problem: finalize-inheritance is not always called on
> class updates (even when compute-slots is called). Spec says that it is
> called at least once somewhere between class being defined and
> instantiation of its instances, and that's it.
> What we can depend on, though? I'm not a MOP expert, but it looks like
> COMPUTE-SLOTS is ideal for slot-related stuff, like derived index triggers.
What about an :after or :before method on update-instance-for-redefined-class?
It is the method suggested in "OO programming in Common-Lisp" by Keene.
Or look at what is in Closer-MOP, or even use it.
Also I found AMOP is online http://keke.yamfa.net/amop/
But maybe your idea works. /Henrik
More information about the elephant-devel
mailing list