Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
exercises/HAD
src
.ghci
.gitignore
HAD.cabal
LICENSE
README.md
Setup.hs
stack.yaml

README.md

1 Haskell A Day exercises

This project provides a git support for 1HaskellADay's exercises (see @1HaskellADay and the hashtag #1HaskellADay)

Getting started

  • Find an exercise in the exercises folder (there is one in the Exercise.hs file of each "leaf/date folder"). For example, the first one is in HAD\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.hs file)

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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.