Chapter 6: functions

note 1

Transparent Caching

Basically we wrap the calling function into a clsure that has added behavior of storing its output to a map. I guess that can be useful for specific scenarios.