ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   11 Packages   11.1 Package Concepts

11.1.1 Introduction to Packages

A package establishes a mapping from names to symbols. At any given time, one package is current. The current package is the one that is the value of *package*. When using the Lisp reader, it is possible to refer to symbols in packages other than the current one through the use of package prefixes in the printed representation of the symbol.

The next figure lists some defined names that are applicable to packages. Where an operator takes an argument that is either a symbol or a list of symbols, an argument of nil is treated as an empty list of symbols. Any package argument may be either a string, a symbol, or a package. If a symbol is supplied, its name will be used as the package name.

Some Defined Names related to Packages
*modules* import provide
*package* in-package rename-package
defpackage intern require
do-all-symbols list-all-packages shadow
do-external-symbols make-package shadowing-import
do-symbols package-name unexport
export package-nicknames unintern
find-all-symbols package-shadowing-symbols unuse-package
find-package package-use-list use-package
find-symbol package-used-by-list  Package Names and Nicknames  Symbols in a Package

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2015 - File last updated 03-23-2015