Abdulaziz Ghuloum <[EMAIL PROTECTED]> 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


_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to