[pro] Initialization of shared slots

Svante Carl v. Erichsen Svante.v.Erichsen at web.de
Thu Jan 6 09:33:43 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Am 06.01.2011 01:31, schrieb Scott L. Burson:
> In section 7.1 it says: "The :initform for a shared
> slot may be used when defining or redefining the class."

I think that this is the most directly applying passage for this
issue.  I am not entirely sure about the exact intended meaning of
"may be" and "used", but at first glance it seems to me that this
means that both the "SBCL way" and the "ABCL way" do conform.
Portable code thus should not rely on either behaviour; it seems that
whether :initform forms of shared slots are evaluated during
definition or during first instanciation is unspecified.

Best wishes
Svante
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0ljHYACgkQFZBb0npmKsxI7gCgmuoxCEYX6geQvZiA7T0UROt0
mYQAn1rynMzlH5XQrwWE3OswT5UFCMEX
=gsQC
-----END PGP SIGNATURE-----




More information about the pro mailing list