“…functional programming terminology is perhaps slightly less than optimal for novice understanding. That is the case with monad terminology.”
What did we read about?
This was our fourteenth week of ‘Functional Programming for the Object-Oriented Programmer‘ by Brian Manick.
We start from Page 132 at the start of section 10.6 Monads as Data-Driven Extended Continuation-Passing Style. Finish at Page 141 at the end of section 10.9 Exercises
We continue looking at monads and delve into them further. We work on a simplified version of the truth and gradually form a concrete appreciation of the complexity and power of monads!
What stood out?
- Page 139 – 10.8 Cond is all about “a multi-way” if, appearing much like a switch statement.
- The exercise at the end of our reading is amusing and gives us our first chance in writing our own monad!
If you read nothing else this week…
- Page 133 – “The lie” gives you a working understanding of monads, which is absolutely critical.