Re: Two questions about eq



På Mon, 31 Mar 2008 17:49:09 +0200, skrev Spiros Bousbouras <spibou@xxxxxxxxx>:

2) Under what (realistic) circumstances might
(eq 1 1) be false ?

try (eq (1+ most-positive-fixnum) (1+ most-positive-fixnum))..
This doesn't 'fit' into a cons cell so you get the place of a bignum instead.
So using eq to compare values is asking for trouble.

--------------
John Thingstad
.



Relevant Pages

  • Re: Compare two large directories?
    ... >> I want to compare two large directories and do not know good ... I was getting trouble in some way sometimes copying accross the lan. ... had a similar newer seagate drive fail recently. ... might not care about the apparently 'lost' ones, ...
    (alt.os.linux.suse)
  • Re: Wood bandsaw blocks?
    ... How do they compare to cool blocks? ... I have scraps of both, but before I got to the trouble of cutting ...
    (rec.woodworking)
  • Re: Russels Revenge
    ... trouble to read. ... Please remember to mention me / in tapes you leave ... i eat fish. ...
    (sci.math)
  • Re: Can I ditch Windows and install OS X ...
    ... and went to a lot pf trouble to get OS-X running on a PC. ... endlessly - when you compare apples to ... Apple hardware is overpriced, they are comparing ...
    (comp.sys.mac.system)
  • Re: Wood bandsaw blocks?
    ... How do they compare to cool blocks? ... I have scraps of both, but before I got to the trouble of cutting them and ...
    (rec.woodworking)