1 Haskell A Day exercises
March 3, 2014 ยท View on GitHub
This project provides a git support for 1HaskellADay's exercises (see @1HaskellADay and the hashtag #1HaskellADay)
Getting started
- Find an exercise in the
exercisesfolder (there is one in theExercise.hsfile of each "leaf/date folder"). For example, the first one is inHAD\Y2014\M02\D24\Exercise.hs - Do it.
- At the root of the project, run
ghci. - check your answer with
check. For example here:check =<< date 2014 2 24 - compare your answer with the proposed one (in the
Solution.hsfile)
The 1had executable
If you install 1HaskellADay with cabal (cabal configure and then
cabal install), you can use the 1had executable for an easier access
to the tests and exercices.