CLCS
Function

find-all-symbols

find-all-symbols stringsymbols

Arguments and Values

stringa string designator.
symbolsa list of symbols.

Description

find-all-symbols searches every registered package for symbols that have a name that is the same (under string=) as string. A list of all such symbols is returned. Whether or how the list is ordered is implementation-dependent.

Examples

 (find-all-symbols 'car)
⇒  (CAR)
OR⇒ (CAR VEHICLES:CAR)
OR⇒ (VEHICLES:CAR CAR)
 (intern "CAR" (make-package 'temp :use nil)) ⇒  TEMP::CAR, NIL
 (find-all-symbols 'car)
⇒  (TEMP::CAR CAR)
OR⇒ (CAR TEMP::CAR)
OR⇒ (TEMP::CAR CAR VEHICLES:CAR)
OR⇒ (CAR TEMP::CAR VEHICLES:CAR)

See Also

find-symbol