Why Monads?

Building intuition on why monads are useful will help better understand what they are as well.
Why Monads?

Monads remain a somewhat mysterious concept in Functional Programming, even though the number of tutorials and blog posts trying to “monadsplain” is at an all-time high. Rather than answering the classical question “What is a Monad?”, we are going to dig more into “Why Monads?”. Building intuition on why monads are useful will help better understand what they are as well. We’ll start with a simple function in a monadless world and we’ll see how annoying it would be to use it in different contexts (List, Maybe, Either). As soon as we are sufficiently frustrated we’ll invoke our friendly Monad and see how much easier our life becomes.

Slides: https://www.slideshare.net/LucaBelli/...

Event: Typelevel Summit Boston, March 2018

Licensing: this recording is licensed under CC-BY 4.0

Subscribe to my newsletter

Subscribe to my newsletter to get the latest updates and news