unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Bug in documentation for eq? ?
@ 2012-06-20 10:40 David Kastrup
  2012-06-20 10:58 ` Andy Wingo
  0 siblings, 1 reply; 16+ messages in thread
From: David Kastrup @ 2012-06-20 10:40 UTC (permalink / raw)
  To: guile-devel


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




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-06-20 15:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-20 10:40 Bug in documentation for eq? ? David Kastrup
2012-06-20 10:58 ` Andy Wingo
2012-06-20 11:32   ` David Kastrup
2012-06-20 11:47     ` David Kastrup
2012-06-20 13:17     ` Andy Wingo
2012-06-20 13:41       ` Noah Lavine
2012-06-20 14:22         ` Andy Wingo
2012-06-20 14:31           ` David Kastrup
2012-06-20 14:47             ` Andy Wingo
2012-06-20 15:19               ` David Kastrup
2012-06-20 14:27       ` David Kastrup
2012-06-20 14:43         ` Andy Wingo
2012-06-20 15:16           ` David Kastrup
2012-06-20 15:29             ` Andy Wingo
2012-06-20 14:56         ` Pierpaolo Bernardi
2012-06-20 15:25           ` David Kastrup

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).