Taming Cats - Monad
The third one down the list is Monad.
The third one down the list is Monad.
Continuing with scary names, Applicative is next.
Computer science is great at finding off-putting vocabulary. It is able to hide simple concepts behind scary words, for example, Functors.
Scala supports supertypes and typeclasses. Those allowed me to write a generic maxOption
function, in a previous article. With the overview out of the way, I will show in more detail how typeclasses can add real value to your project.
After a few months of writing about Cats, it is great to take a small break. This pause isn’t to start anything new but to build foundations for the upcoming posts. If you are looking to learn about those scary FP words, you will need to understand what is below.