CLCS
Function

package-used-by-list

package-used-by-list packageused-by-list

Arguments and Values

packagea package designator.
used-by-lista list of package objects.

Description

package-used-by-list returns a list of other packages that use package.

Examples

 (package-used-by-list (make-package 'temp)) ⇒  ()
 (make-package 'trash :use '(temp)) ⇒  #<PACKAGE "TRASH">
 (package-used-by-list 'temp) ⇒  (#<PACKAGE "TRASH">)

Exceptional Situations

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