[elephant-devel] evaluation of initforms

Zach Beane xach at xach.com
Sat Nov 13 18:58:33 UTC 2004


It looks like adding the persistent-metaclass metaclass makes a
defclass form evaluate its initforms at class-definition time. This is
problematic for a class like:

   (defclass user ()
     ((name :initarg :name :initform (error "Required slot")))
     (:metaclass persistent-metaclass))

Is there any way to avoid evaluating the initform at class definition
time?

Zach







More information about the elephant-devel mailing list