User Tools


Function FIND-PACKAGE

Syntax

  • find-package namepackage

Arguments and Values

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

Side Effects

None.

Affected By

Exceptional Situations

None.

See Also

Notes

None.

\issue{PACKAGE-FUNCTION-CONSISTENCY:MORE-PERMISSIVE} \issue{PACKAGE-FUNCTION-CONSISTENCY:MORE-PERMISSIVE}