Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Partitions of integers and multisets. Integer partitions are nonincreasing sequences of positive integers.
See:
- Donald E. Knuth: The Art of Computer Programming, vol 4, pre-fascicle 3B.
- http://en.wikipedia.org/wiki/Partition_(number_theory)