From: "Mark J. Reed" Date: 2003-07-30T11:09:00+09:00 Subject: Re: Set doesn't have [] instance method - and Set#| is inconsistent with Set#& GS = Gavin Sinclair MR = me GS> Another question, then. Why does Set#| return a Set, but Set#& GS> returns an Array? MR> That sounds like a bug. I would expect both to return a Set. And I can't reproduce it, either; they both seem to return Sets: $ irb -r set irb(main):001:0> s = Set.new [1,2,3,4] => # irb(main):002:0> t = Set.new [2,4,6,8] => # irb(main):003:0> s | t => # irb(main):004:0> s & t => # irb(main):005:0>