- Notifications
You must be signed in to change notification settings - Fork1
toraritte/haskell-book-solutions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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 (seeptrfrncsmrph
for example).
Stackoverflow questions1 and2 are very helpful, but the gist is:
cloneall repos:
git clone --recurse-submodules https://github.com/sac-fp/HaskellBook-solutions.git
clonespecific repo(s):
git clone --recurse-submodules=ptrfrncsmrph --recurse-submodules=txels https://github.com/sac-fp/HaskellBook-solutions.git
See more at section--recurse-submodules
ingit help clone
.
From the command line:
- Fork this repo
git clone https://github.com/<your-github-username>/HaskellBook-solutions.git
git checkout -b add-solution
git submodule add <url-of-your-repo> <your-github-username>
- Stage and commit your changes
git push origin add-solution
- Create a pull request
- Don't be afraid to commit
- The Github Blog - Working with submodules
- Stackoverflow - Add git submodule with a different name
- Stackoverflow - How do I remove a git submodule?
A list of solutions are available athttps://github.com/CarlosMChica/haskell-book-readers-exercises but it hasn't been updated for a couple months now.