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