Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Partitions of a multiset
Synopsis
- partitionMultiset :: (Eq a, Ord a) => [a] -> [[[a]]]
Documentation
partitionMultiset :: (Eq a, Ord a) => [a] -> [[[a]]] Source #
Partitions of a multiset. Internally, this uses the vector partition algorithm