Do symbols need to be EQ?
Ben Hyde
bhyde at pobox.com
Sun Aug 16 21:17:38 UTC 2015
> "Symbols that print the same USUALLY are EQ to each other because of the use of the INTERN function."
Unusual cases, eh? Are there example’s that don’t involve uninterned symbol’s?
> (eq '#:zzz '#:zzz)
nil
> (flet ((f (&aux (*gensym-counter* 123)) (print (gensym)))) (eq (f) (f)))
#:g123
#:g123
nil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20150816/c45c9c01/attachment.html>
More information about the pro
mailing list