From: Mark Wilson Date: 2003-06-05T05:32:39+09:00 Subject: More set methods I've added some additional draft set methods to the Ruby Garden Wiki at http://www.rubygarden.org/ruby?AdditionalSetMethods Methods added are: Two forms of cartesian product (one returning a set of immutable tuples and the other returning a set of arrays) -- I plan on looking at using the cartesian product method in enum tools to implement these. 'unique_attributes' method -- Deletes objects with duplicate attributes from the calling set. Used to deal with a set being able to contain two different set objects that have the same elements. 'relation?' method. 'powerset?' method -- Determines if the calling set is a powerset of the given set. I'm still working on the 'make_powerset' method. 'make_complement' and 'complement?' methods. Comments, suggestions, revisions, ideas, derisive laughter, etc. welcome. Regards, Mark