unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* doc eq? eqv? equal?
@ 2004-08-20  1:26 Kevin Ryde
  2004-08-20 10:26 ` Marius Vollmer
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Ryde @ 2004-08-20  1:26 UTC (permalink / raw)


I'm looking to polish the docs for eq?, eqv? and equal? a bit.  r5rs
says numbers are unspecified for eq?, even going so far as to say

	(let ((n (+ 2 3)))
	  (eq? n n))       => *unspecified*

I guess that's meant to allow something wild and strange to represent
numbers.

In guile "(eq? x x)" is always going to be true, but I'm wondering if
the docs should describe only the weaker r5rs behaviour, and advise
eqv? for anything involving numbers.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


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

end of thread, other threads:[~2004-09-02  1:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-20  1:26 doc eq? eqv? equal? Kevin Ryde
2004-08-20 10:26 ` Marius Vollmer
2004-08-22  1:54   ` Kevin Ryde
2004-08-24 17:24     ` Marius Vollmer
2004-09-02  1:24       ` Kevin Ryde

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).