Skip to content

Repositories with solutions to the exercises in the Haskell Book (i.e. Haskell Programming from first principles)

Notifications You must be signed in to change notification settings

toraritte/haskell-book-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Each repo is added as a git submodule, and each directory leads to the solutions repo of the given contributor. Entries that are not shown as links are hosted on platforms other than Github (e.g., Gitlab), and links to those should be part of the last commit message (see ptrfrncsmrph for example).

Cloning this repo WITH submodules

Stackoverflow questions 1 and 2 are very helpful, but the gist is:

  • clone all repos:
    git clone --recurse-submodules https://github.com/sac-fp/HaskellBook-solutions.git

  • clone specific repo(s):
    git clone --recurse-submodules=ptrfrncsmrph --recurse-submodules=txels https://github.com/sac-fp/HaskellBook-solutions.git

See more at section --recurse-submodules in git help clone.

How to add your solutions repo

From the command line:

  1. Fork this repo
  2. git clone https://github.com/<your-github-username>/HaskellBook-solutions.git
  3. git checkout -b add-solution
  4. git submodule add <url-of-your-repo> <your-github-username>
  5. Stage and commit your changes
  6. git push origin add-solution
  7. Create a pull request

Helpful git resources:

A list of solutions are available at https://github.com/CarlosMChica/haskell-book-readers-exercises but it hasn't been updated for a couple months now.

About

Repositories with solutions to the exercises in the Haskell Book (i.e. Haskell Programming from first principles)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published