Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asarkar/exercism-haskell
https://exercism.org/tracks/haskell
https://github.com/asarkar/exercism-haskell
algorithms data-structures exercism exercism-haskell exercism-track functional-programming haskell
Last synced: 3 days ago
JSON representation
https://exercism.org/tracks/haskell
- Host: GitHub
- URL: https://github.com/asarkar/exercism-haskell
- Owner: asarkar
- License: apache-2.0
- Created: 2022-07-04T09:41:33.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T23:02:39.000Z (2 months ago)
- Last Synced: 2024-09-09T03:53:18.936Z (2 months ago)
- Topics: algorithms, data-structures, exercism, exercism-haskell, exercism-track, functional-programming, haskell
- Language: Haskell
- Homepage:
- Size: 2.15 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: change/.exercism/config.json
- License: LICENSE
Awesome Lists containing this project
README
# exercism-haskell
My solutions for [Exercism Haskell Track](https://exercism.org/tracks/haskell).
Feel free to open issues for questions, comments, or suggestions.[![](https://github.com/asarkar/exercism-haskell/workflows/CI/badge.svg)](https://github.com/asarkar/exercism-haskell/actions)
A curated list of [Haskell resources](https://blogs.asarkar.com/technical/haskell-curated/) is available on my blog.
## Installation
https://stackoverflow.com/a/78961866/839733
## Uninstallation
```
ghcup nuke
rm -rf $HOME/.ghcup
rm -rf $HOME/.stack
```## GHCi Commands
To start with a package loaded
```
stack repl --package xyz
```To load if already started
```
GHCi> :set -package xyz
GHCi> :m +XYZ.Module.You.Suddenly.Need
```To use a language extension
```
GHCi> :set -XOverloadedStrings
```To load a file
```
GHCi> :load path/to/file
```To show type of something
```
GHCi> :t variable
```Multiline input
```
GHCi> :{
...
:}
```To quit
```
GHCi> :quit
```## Running tests
All of the `stack test` commands must have the following options appended at the end:
```
--stack-yaml /stack.yaml --resolver lts --verbosity warn --work-dir .
``````
stack test
```To run all matching tests:
```
stack test --ta '-m '
```To run exactly matching tests:
```
stack test --ta '-m "//"'
```The name of a failing test is printed on the console, we can copy-paste from there.
To view package list:
```
stack ls dependencies
```## License
Released under [Apache License v2.0](LICENSE).