[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
doc eq? eqv? equal?
From: |
Kevin Ryde |
Subject: |
doc eq? eqv? equal? |
Date: |
Fri, 20 Aug 2004 11:26:15 +1000 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
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.
- doc eq? eqv? equal?,
Kevin Ryde <=