[r6rs-discuss] Typos
Llewellyn Pritchard
leppie at wdsl.co.za
Fri Apr 4 12:29:45 EDT 2008
Abdulaziz Ghuloum <aghuloum at cs.indiana.edu> writes:
> they may assume that numbers, booleans, and chars are comparable
> with eq? (because almost all implementations do that), or may
> make all sorts of incorrect assumptions that someday, under some
> still conforming implementation, will break.
Booleans (and symbols) are comparable with eq?.
"The eq? and eqv? predicates are guaranteed to have the
same behavior on symbols, booleans, the empty list, pairs,
procedures, non-empty strings, bytevectors, and vectors,
and records."
Furthermore, only symbols and booleans are specified for eqv? on the
aforementioned list.
Cheers
leppie
More information about the r6rs-discuss
mailing list