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

11.2.4 find-package Function

Syntax:
find-package name    package

Arguments and Values:
name - a string designator or a package object.

package - a package object or nil.

Description:
If name is a string designator, find-package locates and returns the package whose name or nickname is name. This search is case sensitive. If there is no such package, find-package returns nil.

If name is a package object, that package object is returned.

Examples:
 (find-package 'common-lisp)  #<PACKAGE "COMMON-LISP">
 (find-package "COMMON-LISP-USER")  #<PACKAGE "COMMON-LISP-USER">
 (find-package 'not-there)   NIL

Affected By:
The set of packages created by the implementation.

defpackage, delete-package, make-package, rename-package

See Also:
make-package

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2019 - File last updated 02-07-2019