On Feb 2, 3:21 pm, MRAB <[EMAIL PROTECTED]> wrote:
> I could see uses for both types of union. You could have both A + B
> which adds the multiplicities (the smallest bag which contains both
> the bags) and A | B which takes the max of the multiplicities (the
> smallest bag which contains either of the bags).

I agree, and this is what I proposed in my post (except that I spelt A|
B as A.union(B))

--
Arnaud

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to