Synopsis:
subsets s -- yields a list of the subsets of the set s.
i1 : subsets set {a,b,c} o1 = Set {{c, a}, {b}, {c}, {b, a}, {b, c, a}, {}, {b, c}, {a}} o1 : Set
See also:
Code:
-- ../../../Macaulay2-0.9.2/Macaulay2/m2/combinatorics.m2:18 subsets Set := x -> set subsets toList x