Exercises from the book "Programming in Haskell" by Graham Hutton