November 2017
Intermediate to advanced
670 pages
17h 35m
English
The closure is like the shot glass, chocolate syrup is like our curried variable a. Every shot glass partially filled with chocolate syrup is like our partially invoked lambda expression that we set aside, just waiting for the milk.

When we add good ole' milk and stir, that's like passing the 1 and executing 2 + 1. The result (that is, 3) is a tasty treat called chocolate milk. For our lactose intolerant friends, we can take a glass of chocolate syrup (partially invoked function with curried chocolate syrup) and add almond milk. For our crazy lactose intolerant uncle, we can take another curried glass ...