On Feb 16, 2012, at 08:30 , Ken Thomases wrote:

> A dictionary is equal to any other dictionary with equal keys and values.  
> That's true for a mutable dictionary, too.  Mutating a mutable dictionary 
> will changes which other objects it's equal to.

Really? Well, OK. 

I can't find any documentation that says so, just a couple of inconclusive 
hints. I think the question of what's documented as the API contract is 
important, because one of the issues in this thread is the [possible] 
difference between what's reasonable/conventional/expected equality behavior, 
and what's actually required by the API contract.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to