[Ecls-list] Re: Important fix in CLOS

Paul F. Dietz dietz at dls.net
Wed Apr 30 03:34:14 UTC 2003


Juan Jose Garcia Ripoll wrote:

> The idea is that :INITFORM is evaluated in the lexical environment in which 
> the DEFCLASS appears. To achieve this effect, one has to enclose the '(FOO) 
> form in a closure, like #'(lambda () (FOO)) and evaluate it at 
> INITIALIZE-INSTANCE time. Same applies for :DEFAULT-INITARGS.

Hmm.  I thought I had tested that, but apparently not.  Will add.

	Paul






More information about the ecl-devel mailing list