https://github.com/asarkar/haskellings
Haskell Programming Course
https://github.com/asarkar/haskellings
functional-programming haskell
Last synced: 8 months ago
JSON representation
Haskell Programming Course
- Host: GitHub
- URL: https://github.com/asarkar/haskellings
- Owner: asarkar
- License: apache-2.0
- Created: 2025-01-16T05:20:38.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-01-19T09:17:41.000Z (10 months ago)
- Last Synced: 2025-03-09T20:32:00.084Z (8 months ago)
- Topics: functional-programming, haskell
- Language: Haskell
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
My solutions to the exercises from [haskellings](https://github.com/MondayMorningHaskell/haskellings).
- The tests have been separated from the main code.
- There no need to use the custom `haskellings` executable (see "Running tests" below).
[](https://github.com/asarkar/haskellings/actions)
## Progression
The first step is to inspect the introduction modules under the [basics](src/Basic) package. They contain examples of data structures and Haskell syntax. They do not contain tests and exist to provide a cursory examination of Haskell syntax.
After this, we recommend the following progression of modules:
* [syntax](src/Syntax)
* [functions](src/Function)
* [data](src/Data)
* [recursion](src/Recursion)
* [lists](src/List)
* [typeclasses](src/Typeclass)
* [monads](src/Monad)
## Running tests
```
./.github/run.sh
```
To run all matching tests:
```
./.github/run.sh -p ''
```
To run a _specific test_:
```
./.github/run.sh -p '.'
```
where `testGroup` and `testCase` are the names of the corresponding Tasty namesakes.
To list all tests, in the format accepted by the `-p` flag:
```
./.github/run.sh -l
```
See more about selection patterns [here](https://github.com/UnkindPartition/tasty?tab=readme-ov-file#patterns).
To run a file containing a `main` method:
```
stack runhaskell
```
To run an executable listed in `package.yaml`:
```
stack build
stack exec
```
## License
Released under [Apache License v2.0](LICENSE).