Re: How do I add an extra slot to a class?



:DEFAULT-INITARGS are not the same as the :INITARG forms passed to
slots in DEFCLASS. See section 7.1 in the HyperSpec for a
clarification.

Sorry my goof up. So I guess I'll have to use class-slots to get all the slots of the class. For each slot I will have to use slot-definition-initargs, slot-definition-readers, slot-definition-writers, etc. to get the various slot options. Using all this info I'll have to construct the lambda list for reinitialize-instance and call it for the class in question.

Wow! Why isn't there a simple macro for this already!

Saurabh.
.