list-all-packages (ANSI and GNU Common Lisp Document)

Next: rename-package, Previous: import, Up: Packages Dictionary

#### 11.2.7 list-all-packages [Function]

`list-all-packages` <no arguments> ⇒ packages

#### Arguments and Values::

packages—a list of package objects.

#### Description::

list-all-packages returns a

fresh

list of

all registered packages.

#### Examples::

     (let ((before (list-all-packages)))
        (make-package 'temp)
        (set-difference (list-all-packages) before)) ⇒  (#<PACKAGE "TEMP">)

#### Affected By::

defpackage, delete-package, make-package