On Jun 20, 2006, at 9:45 AM, Kroeger, Simon (ext) wrote:

>
>> From: James Edward Gray II [mailto:james / grayproductions.net]
>> Sent: Tuesday, June 20, 2006 4:32 PM
>
>>> p a.uniq #=> [{:foo=>:bar}]
>>
>> So which one is uniq() really using?  eql?()?
>>
>> James Edward Gray II
>
> both, uniq creates a hash from the array.

OK, let me expand my question slightly:  why are hash() and eql?()  
not meaningfully defined for Hash?

Doesn't Array.hash just aggregate the hash() of its elements?  Why  
could Hash not do the same?

Thanks all for the information.

James Edward Gray II