package-shadowing-symbols
package-shadowing-symbols package → symbols
Issue PACKAGE-FUNCTION-CONSISTENCY is silent on whether a "package designator" is really the right thing here, but KAB, Sandra, and KMP agree that this is what was probably intended.package—a package designator.
11.2.0 18
Sandra: Must this list be freshly consed?
CreatesReturns a list of symbols that have been declared as shadowing symbols in package by shadow or shadowing-import (or the equivalent defpackage options). All symbols on this list are present in package.
(package-shadowing-symbols (make-package 'temp)) → () (shadow 'cdr 'temp) → T (package-shadowing-symbols 'temp) → (TEMP::CDR) (intern "PILL" 'temp) → TEMP::PILL, NIL (shadowing-import 'pill 'temp) → T (package-shadowing-symbols 'temp) → (PILL TEMP::CDR)
None.
None.
Should signal an error of type type-error if package is not a package designator.
Is the list fresh every time, or can it be cached? -kmp 25-Apr-91 Sandra thinks it might be, so I added this not. -kmp 13-Feb-92Whether the list of symbols is fresh is implementation-dependent.