chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Hash table equality pitfall


From: Alex Shinn
Subject: Re: [Chicken-users] Hash table equality pitfall
Date: Fri, 2 Mar 2012 10:51:05 +0900

On Fri, Mar 2, 2012 at 3:01 AM, Peter Bex <address@hidden> wrote:
> On Thu, Mar 01, 2012 at 12:03:25PM -0500, John Cowan wrote:
>> In addition, the following Schemes support SRFI-69 with `equal?`
>> descending into hash tables:  Kawa, Chibi.
>
> What does this mean in practice?  Do they do a "dumb" comparison like
> Chicken does (ie, producing different results depending on the insertion
> order) or do they check whether the hash tables have exactly the same
> keys, each with identical corresponding values?

Chibi does a dumb comparison like Chicken does.

If you use the equal? from R7RS (scheme base) it also
handles cycles.

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]