Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewmacmurray/haskell-book-solutions
Solutions to exercises in Haskell Programming from first principles
https://github.com/andrewmacmurray/haskell-book-solutions
haskell haskell-book
Last synced: 9 days ago
JSON representation
Solutions to exercises in Haskell Programming from first principles
- Host: GitHub
- URL: https://github.com/andrewmacmurray/haskell-book-solutions
- Owner: andrewMacmurray
- License: mit
- Created: 2017-02-05T10:49:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-05T21:41:34.000Z (over 3 years ago)
- Last Synced: 2024-10-13T20:08:56.083Z (24 days ago)
- Topics: haskell, haskell-book
- Language: Haskell
- Homepage:
- Size: 86.9 KB
- Stars: 38
- Watchers: 3
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Haskell Book Solutions
Solutions to exercises in [`haskell book`](http://haskellbook.com/), a fantastic resource for learning Haskell from scratch.
The project is built using [`stack`](https://docs.haskellstack.org/en/stable/README/) a tool used to build Haskell projects and manage dependencies. Check out https://docs.haskellstack.org/en/stable/README/ for information on downloading `stack`. (there's also a great video tutorial [here](https://www.youtube.com/watch?v=sRonIB8ZStw) to get haskell up and running with stack).
### Running code locally
After `stack` and `ghc` have been installed
1. clone the repo, cd into the directory
2. run `stack build`, this will install all the dependencies (can take a while)
3. run `stack ghci` to enter a `ghci` repl session
4. to load a particular module in `ghci` run `:l /path/to/the/module.hs`
5. you can then try out the functions by typing them into the repl