@hackage multiset-comb0.1

Combinatorial operations on multisets

Efficiently generate all permutations and partitions of multisets.