X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fbeyond-ansi.texinfo;h=39f871fa16d2dbef420f2ef8d0dc66b462dbce1b;hb=1c74f342b23aafaa8f514112c9bcca7526e07a58;hp=b365498122bb7fe148459c4c1c029ab2225af91a;hpb=b0b221088b889b6d3ae67e551b93fe1a6cfec878;p=sbcl.git diff --git a/doc/manual/beyond-ansi.texinfo b/doc/manual/beyond-ansi.texinfo index b365498..39f871f 100644 --- a/doc/manual/beyond-ansi.texinfo +++ b/doc/manual/beyond-ansi.texinfo @@ -9,6 +9,7 @@ it still has quite a few. @xref{Contributed Modules}. @menu * Reader Extensions:: * Package-Local Nicknames:: +* Package Variance:: * Garbage Collection:: * Metaobject Protocol:: * Support For Unix:: @@ -58,6 +59,9 @@ has been specified. Different packages can use same local nickname for different global names, or different local nickname for same global name. +Symbol @code{:package-local-nicknames} in @code{*features*} denotes the +support for this feature. + @findex @cl{defpackage} @defmac @cl{defpackage} name [[option]]* @result{} package @@ -87,10 +91,23 @@ Example: @end defmac @include fun-sb-ext-package-local-nicknames.texinfo -@include fun-sb-ext-package-locally-nicknamed-by.texinfo +@include fun-sb-ext-package-locally-nicknamed-by-list.texinfo @include fun-sb-ext-add-package-local-nickname.texinfo @include fun-sb-ext-remove-package-local-nickname.texinfo +@node Package Variance +@comment node-name, next, previous, up +@section Package Variance + +Common Lisp standard specifies that ``If the new definition is at +variance with the current state of that package, the consequences are +undefined;'' SBCL by default signals a full warning and retains as +much of the package state as possible. + +This can be adjusted using @code{sb-ext:*on-package-variance*}: + +@include var-sb-ext-star-on-package-variance-star.texinfo + @node Garbage Collection @comment node-name, next, previous, up @section Garbage Collection