[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SRFI-9 and `equal?'
From: |
Kevin Ryde |
Subject: |
Re: SRFI-9 and `equal?' |
Date: |
Wed, 07 Jun 2006 08:33:30 +1000 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
>
> According to R5RS, if the two `chbouib' instances print equally, they
> should be `equal?'.
I don't think that's meant to be taken literally, I'm pretty sure what
it's only trying to say is that `equal?' recurses into containers like
lists and vectors.
> To me, it looks like having `equal?' behave "as one may expect" (i.e.,
> as in the Chicken case) would be very valuable and look more consistent
> wrt. R5RS --- although, admittedly, relying on it would be Bad.
Yep, I think it'd be good to look into the fields of two records of
the same type.
Re: SRFI-9 and `equal?',
Kevin Ryde <=