Hi Simon!
Thanks for your work toward improving unique representations!
On Mon, Feb 25, 2013 at 03:33:56PM +, Simon King wrote:
> sage: G = CombinatorialFreeModule(ZZ, [1,2,3,4], prefix="G")
> sage: y = CombinatorialFreeModule(ZZ, [1,2,3,4], prefix='y')
> sage: G is y
> False
> sage:
Hi!
sage: G = CombinatorialFreeModule(ZZ, [1,2,3,4], prefix="G")
sage: y = CombinatorialFreeModule(ZZ, [1,2,3,4], prefix='y')
sage: G is y
False
sage: G == y
True
This is inspite of the fact that CombinatorialFreeModule inherits from
UniqueRepresentation. Namely, it overloads __eq__ and __ne__.