Function find-package

Syntax:

find-package name package

Arguments and Values:

Text of this dictionary entry slightly rearranged per Margolin #13 (first public review). -kmp 1-Jul-93

name—a string designator or a package object.

package—a package object or nil.

Description:

11.2.0 12If name is a string designator, find-package locates and returns the package whose name or nickname is name. 11.0.0 21 The \funref{find-package}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

Side Effects:

None.

Affected By:

The set of packages created by the implementation.

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

Exceptional Situations:

None.

See Also:

make-package

Notes:

None.