On Tue, Aug 3, 2010 at 2:29 PM, William Stein <wst...@gmail.com> wrote: > +1 It makes no sense for < to mean "subset" because < should be a > total order. > > If you want to check for subsets we should use a method like in python: > > sage: a = set([1,2,3]) > sage: b = set([2,3,4]) > sage: a.issubset(b) > False > sage: b.issubset(a) > False > sage: a.issubset(b.union(a)) > True > > I don't like "issubset" as the method name, and would prefer > "is_subset", personally.
http://trac.sagemath.org/sage_trac/ticket/9677 needs a review... -- Robert L. Miller http://www.rlmiller.org/ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org