Functional Programming with Cats

Should we be using Maybe Monads for handling nulls in Clojure?

Functional Human

--

In this piece I am going to explore the world of Maybe Monads for functional programming in Clojure. We will look at what the basic Maybe Monads is and how to use the functional Cats library. I will also be looking at why we perhaps we shouldn’t be using them, and should instead be looking at Clojure’s spec library or Clojure’s other language features.

Before we get started, I just want to point out that Monads can be quite a complicated topic

--

--