budden <budden-lisp@mail.ru> wrote:
+---------------
| In a practice:
|
| lispworks, clisp, ccl
| (read-from-string "cl-user::")
| returns cl-user::||
|
| sbcl and allegro report a error.
+---------------
As others have noted, bare CL-USER:: is an illegal token. However,
CL-USER::|| *is* a legal token, and thus the following should work
everywhere:
> (read-from-string "cl-user::||")
||
11
> (eq * (intern "" "CL-USER"))
T
> (symbol-name **)
""
> (length *)
0
>
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607