Review Exercises
Haskell, Iteration 9
Your work for this iteration will come from Yet Another Haskell Tutorial (a.k.a. "YAHT") by Hal Daume III. Use the PDF available on that webpage since it has page and exercise numbers.
- Create a new folder
_languages/haskell/yaht/
. - Create a new module
Chapter03
and corresponding test moduleChapter03Test
(see the Haskell templates).
Write methods and tests for the following exercises:
- Exercise 3.2, page 25/35
- Exercises 3.4–3.6, page 20/30
- Exercise 3.7, page 31/41
Experiment with these functions in GHCi.
The page numbers are (logical number)/(pdf number).
For your own edification, work through these exercises:
- Exercise 4.1, page 39/49
- Exercise 4.2, page 40/50
- Exercise 4.3, page 47/57
There's nothing to hand in for these.