Exercises from the Real World Haskell book.