Solutions for "Functional Programming in Scala" by Paul Chiusano, Rúnar Bjarnason