From ... From: Erik Naggum Subject: symbols, internal or external? Date: 1997/04/22 Message-ID: <3070703488008286@naggum.no>#1/1 X-Deja-AN: 236584259 mail-copies-to: never Organization: Naggum Software; +47 2295 0313; http://www.naggum.no Newsgroups: comp.lang.lisp I have been looking for a function to learn whether a symbol is internal, external, or inherited in a given package, but find that both `find-symbol' and `intern' only take arguments of type _string_, not _string designator_ ever since CLtL2. right now, I can find what I'm looking for with (defun symbol-information (symbol) (let* ((name (symbol-name symbol)) (package (symbol-package symbol)) (status (nth-value 1 (find-symbol name package)))) (values status name package))) but this seems like such a waste. since the Lisp printer must determine whether a symbol is accessible in the default package or internal or external in some package all the time, I'd thought I could have access to that information, too. suggestions? (I'm aware of the `with-package-iterator' macro, which uses a lot of internal functions in all the implementations I have that support it.) #\Erik -- Bastard Sex Therapist from Hell: "Read the F*cking Manual!"