-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello!
In chapter 7.1.5, the fourth bullet of shared-initialize is:
"Any slots indicated by the second argument that are still unbound at
this point are initialized according to their :initform forms."
There is no hint that "slots" could refer only
On Wed, Jan 5, 2011 at 7:17 AM, Didier Verna wrote:
> Until now, I've been uncounsiously relying on something that the
> standard does not seem to specify: the fact that shared slots equipped
> with an initform are initialized before the first instance is created:
>
> (defclass test () ((slot :all
r...@tuxteam.de wrote:
> On Wed, Jan 05, 2011 at 06:15:34PM +0100, Didier Verna wrote:
>>
>> Tim Bradshaw pointed out that my message was not very clear because the
>> test I gave does not demonstrate that an initform's result is used to
>> initialize the slot early, only at which time a slot is
On Wed, Jan 05, 2011 at 06:15:34PM +0100, Didier Verna wrote:
>
> Tim Bradshaw pointed out that my message was not very clear because the
> test I gave does not demonstrate that an initform's result is used to
> initialize the slot early, only at which time a slot is initialized.
>
> This on the
Tim Bradshaw pointed out that my message was not very clear because the
test I gave does not demonstrate that an initform's result is used to
initialize the slot early, only at which time a slot is initialized.
This on the other hand gets closer to the point:
(defclass test ()
((slot :allocati
The following message is a courtesy copy of an article
that has been posted to comp.lang.lisp as well.
Until now, I've been uncounsiously relying on something that the
standard does not seem to specify: the fact that shared slots equipped
with an initform are initialized before the first instan