[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in documentation for eq? ?
From: |
Noah Lavine |
Subject: |
Re: Bug in documentation for eq? ? |
Date: |
Wed, 20 Jun 2012 09:41:30 -0400 |
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 <address@hidden> 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/
>
- Bug in documentation for eq? ?, David Kastrup, 2012/06/20
- Re: Bug in documentation for eq? ?, Andy Wingo, 2012/06/20
- Re: Bug in documentation for eq? ?, David Kastrup, 2012/06/20
- Re: Bug in documentation for eq? ?, David Kastrup, 2012/06/20
- Re: Bug in documentation for eq? ?, Andy Wingo, 2012/06/20
- Re: Bug in documentation for eq? ?,
Noah Lavine <=
- Re: Bug in documentation for eq? ?, Andy Wingo, 2012/06/20
- Re: Bug in documentation for eq? ?, David Kastrup, 2012/06/20
- Re: Bug in documentation for eq? ?, Andy Wingo, 2012/06/20
- Re: Bug in documentation for eq? ?, David Kastrup, 2012/06/20
- Re: Bug in documentation for eq? ?, David Kastrup, 2012/06/20
- Re: Bug in documentation for eq? ?, Andy Wingo, 2012/06/20
- Re: Bug in documentation for eq? ?, David Kastrup, 2012/06/20
- Re: Bug in documentation for eq? ?, Andy Wingo, 2012/06/20
- Re: Bug in documentation for eq? ?, Pierpaolo Bernardi, 2012/06/20
- Re: Bug in documentation for eq? ?, David Kastrup, 2012/06/20