Re: [cedet-eieio] Constructor -- lambda expression
Brought to you by:
zappo
From: Jan M. <jan...@un...> - 2010-05-29 20:07:35
|
Hi Frank. > Another question: > > (defclass foo () > ((bar :initform (lambda () (make-vector 10 nil))))) > > (make-instance 'foo) > ;; results in [object foo "foo" (lambda nil (make-vector 10 nil))] > > Isn't the lambda expression of the :initform supposed to be evaluated at > instantiation time? I'm not entirely sure, but I think that behavior has been obsoleted. Jan |