[elephant-devel] is initform evaluated?
Walter C. Pelissero
walter at pelissero.de
Mon Feb 21 13:23:25 UTC 2005
Apparently the initform slot argument gets evaluated somewhere during
the definition of a persistent class.
Here is an example.
(defclass foo ()
((x :initform (error "default x")
:initarg :x))
(:metaclass ele:persistent-metaclass))
If you evaluate this class definition you get an error, which is not
what I expect until I actually make an instance of that class.
--
walter pelissero
http://www.pelissero.de
More information about the elephant-devel
mailing list