The exercises are meant to be solved in a test-driven way. There are per-module test suites under Tests/
and an AllTests
module that contains all the tests.
Suggested order:
- GettingStarted
- Functions
- PartialApplication
- Recursion
- RecursionSchemes
- CreditCardNumberValidator
- PatternMatching
- HigherOrderFunctions
- ProjectEuler
- QuickCheckExamples
- Vigenere
A simple way of running the tests locally is to use the command
$ runhaskell Tests/<test name>.hs`
e.g. runhaskell Tests/GettingStartedTests.hs
.
See CheatSheet.hs
for examples of Haskell syntax and the use of some common
functions.
- http://www.cis.upenn.edu/~cis194/lectures.html
- https://github.com/NICTA/course
- http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours
- Learn You a Haskell for Great Good! (2011)
- Maybe Haskell (2015)
- Real World Haskell (2008)
- Programming in Haskell (2007)
- Parallel and Concurrent Programming in Haskell (2013)
/r/haskell
: http://haskell.reddit.com- School of Haskell: https://www.fpcomplete.com/school/