Scala Cookbook: Recipes for Object-Oriented and Functional Programming chp09: 9.1 Function Literals