Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asarkar/99-haskell
H-99: Ninety-Nine Haskell Problems
https://github.com/asarkar/99-haskell
99-haskell-problems 99-problems 99problems functional-programming haskell ninety-nine-haskell-problems ninety-nine-problems
Last synced: 26 days ago
JSON representation
H-99: Ninety-Nine Haskell Problems
- Host: GitHub
- URL: https://github.com/asarkar/99-haskell
- Owner: asarkar
- License: apache-2.0
- Created: 2023-12-21T15:21:12.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-07T03:53:23.000Z (10 months ago)
- Last Synced: 2024-05-01T12:20:57.198Z (6 months ago)
- Topics: 99-haskell-problems, 99-problems, 99problems, functional-programming, haskell, ninety-nine-haskell-problems, ninety-nine-problems
- Language: Haskell
- Homepage:
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[H-99: Ninety-Nine Haskell Problems](https://wiki.haskell.org/H-99:_Ninety-Nine_Haskell_Problems)
[![](https://github.com/asarkar/99-haskell/workflows/CI/badge.svg)](https://github.com/asarkar/99-haskell/actions)
Some problems are intentionally unsolved, because they
are uninteresting/improbable in the context of Haskell.
- These are the problems 38, 47, and 54.A number of problems were added to fill out 99 problems.
- These are the problems 29, 30, 42, 43, 44, 45, 51, 52, 53, 74, 75, 76, 77, 78, and 79.## The problems
* Questions 1 to 10: [Lists](src/Lists.hs)
* Questions 11 to 20: [Lists, continued](src/Lists2.hs)
* Questions 21 to 30: [Lists again](src/Lists3.hs)
* Questions 31 to 45: [Arithmetic](src/Arithmetic.hs)
* Questions 46 to 53: [Logic and codes](src/Logic.hs)
* Questions 54A to 60: [Binary trees](src/BinaryTrees.hs)
* Questions 61 to 69: [Binary trees, continued](src/BinaryTrees2.hs)
* Questions 70B to 73: [Multiway trees](src/MultiwayTrees.hs)
* Questions 74 to 79: [Monads](src/Monads.hs)
* Questions 80 to 89: [Graphs](src/Graphs.hs)
* Questions 90 to 94: [Miscellaneous problems](src/Misc.hs)
* Questions 95 to 99: [Miscellaneous problems, continued](src/Misc2.hs)
## Running tests
```
./.github/run.sh
```To run all matching tests:
```
./.github/run.sh -m
```To run exactly matching tests:
```
./.github/run.sh -m "//"
```To run a _specific test_:
```
./.github/run.sh -m "/Ch11/evaluates expression/eval/"
```To run a file containing a `main` method:
```
stack runhaskell app/Main.hs
```To run an executable listed in `package.yaml`:
```
stack build
stack exec
```## License
Released under [Apache License v2.0](LICENSE).