Combinatorics stuff that is not readily available in the contrib package.
Combinatorics stuff that is not readily available in the contrib package.
(big-enough-partitions T n)
All partitions of T with at least n many elements. The elements of the partitions are sets.
All partitions of T with at least n many elements. The elements of the partitions are sets.
(non-empty-subsets T)
All subsets of T as sets, except the empty set.
All subsets of T as sets, except the empty set.
(singleton? coll)
Returns true if the given collection contains exactly 1 element.
Returns true if the given collection contains exactly 1 element.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close