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
- Host: GitHub
- URL: https://github.com/tarc/partitions
- Owner: tarc
- License: other
- Created: 2019-10-05T09:38:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-25T11:49:36.000Z (over 6 years ago)
- Last Synced: 2025-03-11T08:51:07.571Z (over 1 year ago)
- Topics: haskell, haskell-exercises
- Language: Haskell
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
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]]
```