An open API service indexing awesome lists of open source software.

https://github.com/tarc/partitions

Enumerates all possible partitions of a given positive number taking the summands fro input parameters
https://github.com/tarc/partitions

haskell haskell-exercises

Last synced: 8 months ago
JSON representation

Enumerates all possible partitions of a given positive number taking the summands fro input parameters

Awesome Lists containing this project

README

          

# Small Haskell Exercise to Compute Partitions Sets

```console
git clone https://github.com/tarc/partitions.git
cd partitions
stack build
stack test
stack exec partitions-exe 44 4 7
> [[4,4,4,4,4,4,4,4,4,4,4],[4,4,4,4,7,7,7,7]]
```