This is the defpackage-plus Reference Manual, version 1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 04:57:29 2025 GMT+0.
defpackage-plus/defpackage-plus.asddefpackage-plus/package.lispdefpackage-plus/utility.lispdefpackage-plus/ensure.lispdefpackage-plus/inherit.lispdefpackage-plus/local-nicknames.lispdefpackage-plus/defpackage-plus.lispdefpackage-plus/package-plus.lispThe main system appears first, followed by any subsystem dependency.
defpackage-plusExtensible DEFPACKAGE with version support
Ryan Pavlik
BSD-2-Clause
1.0
alexandria (system).
package.lisp (file).
utility.lisp (file).
ensure.lisp (file).
inherit.lisp (file).
local-nicknames.lisp (file).
defpackage-plus.lisp (file).
package-plus.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
defpackage-plus/defpackage-plus.asddefpackage-plus/package.lispdefpackage-plus/utility.lispdefpackage-plus/ensure.lispdefpackage-plus/inherit.lispdefpackage-plus/local-nicknames.lispdefpackage-plus/defpackage-plus.lispdefpackage-plus/package-plus.lispdefpackage-plus/defpackage-plus.asddefpackage-plus (system).
defpackage-plus/utility.lisppackage.lisp (file).
defpackage-plus (system).
package-external-symbols (function).
package-symbols (function).
defpackage-plus/ensure.lisputility.lisp (file).
defpackage-plus (system).
ensure-export (function).
ensure-export-only (function).
ensure-export-warning (function).
ensure-nicknames (function).
ensure-package (function).
ensure-use-only (function).
defpackage-plus/inherit.lispensure.lisp (file).
defpackage-plus (system).
import-external-from (function).
import-from (function).
inherit-from (function).
inherit-package (function).
inherit-package-except (function).
shadowing-import-from (function).
*from-package* (special variable).
assert-symbol-p (function).
external-symbol-p (function).
import-except-conflics (function).
import-package-except (function).
map-symbol-names (function).
symbol-check (function).
defpackage-plus/local-nicknames.lispinherit.lisp (file).
defpackage-plus (system).
defpackage+-dispatch (method).
add-local-nickname (function).
ensure-global-nickname (function).
defpackage-plus/defpackage-plus.lisplocal-nicknames.lisp (file).
defpackage-plus (system).
defpackage+ (macro).
defpackage+-dispatch (generic function).
defpackage-plus/package-plus.lispdefpackage-plus.lisp (file).
defpackage-plus (system).
Packages are listed by definition order.
defpackage-plus-1defpackage+-1
alexandria.
common-lisp.
defpackage+ (macro).
defpackage+-dispatch (generic function).
ensure-export (function).
ensure-export-only (function).
ensure-export-warning (function).
ensure-nicknames (function).
ensure-package (function).
ensure-use-only (function).
import-external-from (function).
import-from (function).
inherit-from (function).
inherit-package (function).
inherit-package-except (function).
package-external-symbols (function).
package-symbols (function).
shadowing-import-from (function).
*from-package* (special variable).
add-local-nickname (function).
assert-symbol-p (function).
ensure-global-nickname (function).
external-symbol-p (function).
import-except-conflics (function).
import-package-except (function).
map-symbol-names (function).
symbol-check (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Import symbols in ‘SYMBOL-NAME-LIST‘ from ‘FROM-PACKAGE‘ into ‘PACKAGE‘, but only if they are external to ‘FROM-PACKAGE‘. It is an error if any symbol named in ‘SYMBOL-NAME-LIST‘ is not accessible in ‘FROM-PACKAGE‘, or if the symbol is not external to ‘FROM-PACKAGE‘.
Import symbols in ‘SYMBOL-NAME-LIST‘ from ‘FROM-PACKAGE‘ into ‘PACKAGE‘. It is an error if any symbol named in ‘SYMBOL-NAME-LIST‘ is not accessible in ‘FROM-PACKAGE‘.
Import/export some external symbols from ‘FROM-PACKAGE‘. This is like ‘IMPORT-FROM‘, except symbols in ‘SYMBOL-LIST‘ are *also exported* from ‘PACKAGE‘. It is an error if any symbols in ‘SYMBOL-LIST‘ are not external to ‘FROM-PACKAGE‘.
Import/export *all* external symbols from ‘FROM-PACKAGE‘. This is
like ‘USE-PACKAGE‘ and ‘INHERIT-FROM‘ with all symbols external to
‘FROM-PACKAGE‘ specified.
Note that this only applies to symbols exported *when called*. Future symbols exported from ‘FROM-PACKAGE‘ will not also be exported from ‘PACKAGE‘ unless this function is called again.
Import/export all symbols from ‘FROM-PACKAGE‘ *except* those specified by ‘EXCEPT-SYMBOLS‘.
=> LIST-OF-SYMBOLS
Return a new list of symbols external to ‘PACKAGE‘
=> LIST-OF-SYMBOLS
Return a new list of symbols accessible from ‘PACKAGE‘. Like ‘DO-SYMBOLS‘, this may include the same symbol more than once.
Shadowing-import symbols in ‘SYMBOL-NAME-LIST‘ from ‘FROM-PACKAGE‘ into ‘PACKAGE‘. It is an error if any symbol named in ‘SYMBOL-NAME-LIST‘ is not accessible in ‘FROM-PACKAGE‘.
This function is called for every form in the body
of ‘DEFPACKAGE+‘. The ‘CAR‘ of each form is the ‘OPTION‘ parameter,
which methods should specialize on. The ‘CDR‘ of the list is
‘PARAMETERS‘.
All keywords and symbols from ‘COMMON-LISP‘ are reserved for use by defpackage-plus; user methods should **not** specialize on these.
(eql :intern)) params package) ¶(eql :nicknames)) params package) ¶(eql :shadowing-import-from)) params package) ¶(eql :shadow)) params package) ¶(eql :import-except-conflicts)) params package) ¶(eql :import-except)) params package) ¶(eql :import-external)) params package) ¶(eql :import-from)) params package) ¶(eql :inherit-except)) params package) ¶(eql :inherit)) params package) ¶(eql :inherit-from)) params package) ¶(eql :documentation)) params package) ¶(eql :export-warning)) params package) ¶(eql :export-only)) params package) ¶(eql :export)) params package) ¶(eql :use-only)) params package) ¶(eql :use)) params package) ¶(eql :local-nicknames)) params package) ¶Import all symbols from ‘FROM-PACKAGE‘ *except* symbols that would conflict with those in ‘PACKAGE‘.
Import all symbols from ‘FROM-PACKAGE‘ *except* those specified by ‘EXCEPT-SYMBOLS‘.
| Jump to: | A D E F G I M P S |
|---|
| Jump to: | A D E F G I M P S |
|---|
| Jump to: | *
S |
|---|
| Index Entry | Section | ||
|---|---|---|---|
| | |||
| * | |||
*from-package*: | Private special variables | ||
| | |||
| S | |||
Special Variable, *from-package*: | Private special variables | ||
| | |||
| Jump to: | *
S |
|---|
| Jump to: | D E F I L P S U |
|---|
| Jump to: | D E F I L P S U |
|---|