CLCS
Function

package-use-list

package-use-list packageuse-list

Arguments and Values

packagea package designator.
use-lista 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.