[r6rs-discuss] Immutable record equivalence

From: Mike Sperber <sperber>
Date: Tue, 14 Aug 2007 10:22:42 +0200

"Mark Engelberg" <mark.engelberg at gmail.com> writes:

> Reading through eqv? for records, it seems like if all the fields of a
> record are immutable, than equivalence should be defined by
> equivalence of the field contents.

No. First off, the place for that would be `equal?', not `eqv?'. As to
why `equal?' doesn't (and shouldn't) work this way, see:

http://www.r6rs.org/r6rs-editors/2005-August/000840.html

-- 
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Tue Aug 14 2007 - 04:22:42 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC