package-use-list (ANSI and GNU Common Lisp Document)

Next: package-used-by-list, Previous: package-shadowing-symbols, Up: Packages Dictionary

#### 11.2.25 package-use-list [Function]

`package-use-list` package ⇒ use-list

#### Arguments and Values::

package—a package designator.

use-list—a list of package objects.

#### Description::

Returns a list of other packages used by package.

#### Examples::

     (package-use-list (make-package 'temp)) ⇒  (#<PACKAGE "COMMON-LISP">)
     (use-package 'common-lisp-user 'temp) ⇒  T
     (package-use-list 'temp) ⇒  (#<PACKAGE "COMMON-LISP"> #<PACKAGE "COMMON-LISP-USER">)

#### Exceptional Situations::

Should signal an error of type type-error if package is not a package designator.

#### See Also::

use-package , unuse-package