MAKE-PACKAGEThe default value of the :USE argument is
(“COMMON-LISP”).
MAKE-PACKAGE accepts additional keyword arguments
:CASE-SENSITIVE and :CASE-INVERTED (but not :MODERN!)
DEFPACKAGEDEFPACKAGE accepts additional options :CASE-SENSITIVE,
:CASE-INVERTED, and :MODERN.
When the package being defined already exists, it is modified as follows (and in this order):
:CASE-SENSITIVE(SETF EXT:PACKAGE-CASE-SENSITIVE-P)
(with a warning):CASE-INVERTED(SETF EXT:PACKAGE-CASE-INVERTED-P)
(with a warning):MODERNif “COMMON-LISP” is being used, it is un-used and
“CS-COMMON-LISP” is used instead; also, “CS-COMMON-LISP” is used instead of “COMMON-LISP”
throughout the DEFPACKAGE form, e.g.,
(DEFPACKAGE"FOO" (:MODERNT) (:USE"COMMON-LISP" "EXT"))
is equivalent to
(DEFPACKAGE"FOO" (:CASE-SENSITIVET) (:CASE-INVERTEDT) (:USE"CS-COMMON-LISP" "EXT"))
:NICKNAMESRENAME-PACKAGE
:DOCUMENTATION(SETF
DOCUMENTATION):SHADOWSHADOW
:SHADOWING-IMPORT-FROMSHADOWING-IMPORT
:USEUSE-PACKAGE and UNUSE-PACKAGE
:IMPORT-FROMIMPORT
:INTERNINTERN (but not UNINTERN)
:EXPORTINTERN and EXPORT (but not
UNEXPORT):SIZEEXT:RE-EXPORTThe function ( re-EXT:RE-EXPORT FROM-PACK
TO-PACK)EXPORTs all external
SYMBOLs from FROM-PACK also from
TO-PACK, provided it already uses
FROM-PACK; and SIGNALs an ERROR otherwise.
EXT:PACKAGE-CASE-INVERTED-PReturns T if the argument is a
case-inverted package.
This function is SETFable, although it is probably not a good idea
to change the case-inverted status of an existing package.
EXT:PACKAGE-CASE-SENSITIVE-PReturns T if the argument is a :CASE-SENSITIVE PACKAGE.
This function is SETFable, although it is probably not a good idea
to change the case-sensitive status of an existing package.
| These notes document CLISP version 2.49 | Last modified: 2010-07-07 |