Hello, I think you're talking past each other a little bit. Andy is saying that the Scheme standard doesn't specify eq? on numbers. David is saying that an object should always be eq? to itself, no matter what object.
I believe David's claim is that Guile should guarantee that a variable is eq? to itself, even though the standard doesn't. I don't know what the right answer is, but I think that's what this discussion should be about. Noah On Wed, Jun 20, 2012 at 9:17 AM, Andy Wingo <wi...@pobox.com> wrote: > Hi, > > [bunch of examples] >> Which of the above would you consider unspecified? > > As the Scheme standard clearly states, all the ones comparing numbers > with eq?. You find some of them surprising; that is your problem ;) The > answer is to not compare numbers with eq?. > > Regards, > > Andy > -- > http://wingolog.org/ >