[BUG] Dictionary equality test

Andres Valloud sqrmax at prodigy.net
Sun Jun 9 17:25:32 UTC 2002


Hello.

> >IMHO, given that associations are equal iif their keys are equal
> I never understood why in Associations only the keys are
> considered for equality. [1]

I don't know either.  Since I can't find Association in the ANSI spec, I
suspect that #= is implemented like that so that implementation of
Dictionaries as a collection of associations is easier.

Andres.



More information about the Squeak-dev mailing list