9:30am - 12:30pm
1:30pm - 5pm
This one-day, fast-moving workshop will help you answer both “how do I use Monads” as well as “why and when do I use them.”
We’ll begin with the familiar Array and Optional examples for map and flatMap as a way to motivate the definitions of and differences between Functors and Monads.
We’ll then explore examples of monads such as the State monad, the logging monad, and futures to see why we need both map and flatMap.
We’ll end the day by looking at an important function that lives between map and flatMap: apply.
By the end of the day you should have a strong mental model of Monads, Applicatives, and Functors and see how you might use them in your shipping applications to simplify your code.