X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fbeyond-ansi.texinfo;h=f419ff51fba270e6146533fb552ab18a1a5c8ecc;hb=b1b43e74be3d133bd1edf7d17adb607f8290331f;hp=98253433a00ac266561b886c6a408247ab7fcba7;hpb=920b5eb02b1e1fd1c6c28395cade04e81fbee2bb;p=sbcl.git diff --git a/doc/manual/beyond-ansi.texinfo b/doc/manual/beyond-ansi.texinfo index 9825343..f419ff5 100644 --- a/doc/manual/beyond-ansi.texinfo +++ b/doc/manual/beyond-ansi.texinfo @@ -309,6 +309,19 @@ however, it is not consistent with the weaker requirement in AMOP, which states that any class found by @code{find-class}, no matter what its @code{class-name}, is redefined. +@item +@findex @sbmop{slot-definition-name} +@tindex @cl{structure-class} +@findex @cl{defstruct} +an error is not signaled in the case of the @code{:name} initialization +argument for @code{slot-definition} objects being a constant, when the +slot definition is of type @code{structure-slot-definition} (i.e. it is +associated with a class of type @code{structure-class}). + +This allows code which uses constant names for structure slots to +continue working as specified in ANSI, while enforcing the constraint +for all other types of slot. + @end itemize @subsection Metaobject Protocol Extensions @@ -386,7 +399,7 @@ at @findex @cl{find} @findex @cl{subseq} -Users of this extension just make instances of @cl{sequence} subclasses +Users of this extension just make instances of @code{sequence} subclasses and transparently operate on them using sequence functions: @lisp (coerce (subseq (make-instance 'my-sequence) 5 10) 'list) @@ -795,7 +808,7 @@ different type of generator. @include fun-sb-ext-delete-directory.texinfo @include fun-sb-ext-get-time-of-day.texinfo @include macro-sb-ext-wait-for.texinfo -@include fun-sb-ext-version-assert.texinfo +@include fun-sb-ext-assert-version-gt=.texinfo @node Stale Extensions @comment node-name, next, previous, up