Closed olivermg closed 11 years ago
Ah, I've never noticed that.
eql
is better to compare numbers.
http://www.lispworks.com/documentation/HyperSpec/Body/f_eq.htm
An implementation is permitted to make
copies'' of characters and numbers at any time. The effect is that Common Lisp makes no guarantee that eq is true even when both its arguments are
the same thing'' if that thing is a character or number.
Though most of implementations return T
for (eq 1 1)
, it could be changed in the future.
Sounds reasonable. Fixed. Thanks for the hint :)
Sorry, I guess I messed things up with my last patch. Here is the fix.