[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in documentation for eq? ?
From: |
David Kastrup |
Subject: |
Bug in documentation for eq? ? |
Date: |
Wed, 20 Jun 2012 12:40:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
I read
Numbers and characters are not equal to any other object, but the
problem is they're not necessarily `eq?' to themselves either.
This is even so when the number comes directly from a variable,
(let ((n (+ 2 3)))
(eq? n n)) => *unspecified*
I think that is wrong. A variable reference can't really be anything
except eq? to itself in my opinion. As long as a Scheme object is not
being manipulated in any manner, it should stay eq? to itself.
What am I missing?
--
David Kastrup
- Bug in documentation for eq? ?,
David Kastrup <=
- 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, 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? ?, David Kastrup, 2012/06/20
- Re: Bug in documentation for eq? ?, David Kastrup, 2012/06/20