Hi Randolph and Peter,
> On Fri, 12 Nov 2004 at 04:19:47 +0200, Randolph Udodenko wrote:
>> (find-symbol "A" "") fails because it cannot find package named "".
>> however, in clisp and ACL it works..
>
> This behavior does not appear to be required by the standard
Correct. "" is the package designator for the package with the name "".
This package is probably not currently defined.
One could define the package first:
(unless (find-package "") (make-package "" :use '()))
And then (find-symbol "A" "") will return {nil, nil}.
The CLHS even contains an examples of creating the package first using
make-package:
(find-symbol "NIL" (prog1 (make-package "JUST-TESTING" :use '())
(intern "NIL" "JUST-TESTING")))
Regards,
Adam
|