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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |