In a non-delivered LispWorks image, the form
(eq (symbol-name 'foo) (symbol-name 'foo))
. This behaviour is due to the way symbol names are cached. There is no requirement or guarantee that the results of successive calls to
be the same (
After delivery, LispWorks symbol names are implemented differently such that the
test above fails. Take care that your application does not rely on identity of symbol names.
is not a reliable comparison of strings in general. Use
for reliable string comparison.
LispWorks Delivery User Guide - 13 Dec 2011