On 30/01/2012 02:24, H. S. Teoh wrote: <snip>
And I'd love to have my integer set class be able to use ∪ and ∩ instead of verbose operations like x.union(y) and x.intersection(y).
<snip>
My utility library uses | and &. Think of the possible values of the type you're creating a set of as being like the bits of a number, and then it makes sense.
Stewart.