From: Brian Candler Date: 2003-07-30T16:23:27+09:00 Subject: Re: Set doesn't have [] instance method - and Set#| is inconsistent with Set#& On Wed, Jul 30, 2003 at 11:07:02AM +0900, Mark J. Reed wrote: > It's not a lookup; it's a membership test. Sets are not Hashes - they're > Arrays that don't allow duplicate values. I disagree - Arrays are ordered, Sets are not. irb(main):003:0> a = Set[1,2,3,4,5] => # Regards, Brian.