chapter 2: functions are first-class values