Exercise solutions for "Functional Programming for the Object-Oriented Programmer"