Martin McBride, 2020-07-02
Tags monad design pattern
Categories functional programming
In Programming techniques

In the next few articles we will look monads:

  • Failure monad uses a simple monad that handles exceptions in a predictable, functional way. It uses this as an example to provide a very simple explanation of what a monads are and how they work.
  • List monad extends this to see how monads can be used to implicitly process lists of values.
  • Maybe monad shows how two different types of monad can work together to handle the case of a value that may or may not exist.