Haskell workshop for CAL
Slides
Install Haskell
Mac - Brew
- Go to http://brew.sh/
- Follow the instruction to install Brew
After installing brew, Just do brew install ghc
Linux - apt-get
apt-get install ghc
Other platforms
Please go to https://www.haskell.org/downloads for more information.
How to use Test.hs
run the following command to test all challenges:
runghc Test.hs
run the following command to test a single challenge (in this case challenge 1):
runghc Test.hs 1