Free Monad in Scala
Written form: https://blog.rockthejvm.com/free-monad/
In this video, we'll talk about the Free Monad, an abstraction that allows us to write better, more modularized, more easily maintainable and more testable Scala code.
We'll discuss about "normal" monads, the structure of the Free monad, an example of situation where the Free monad is particularly useful, and we're going to implement a simple version of the Free monad from scratch.
Free monads are part of the cats-free library (and others). If you want to learn more about Cats, we teach this at Rock the JVM:
Cats: https://rockthejvm.com/p/cats
Follow Rock the JVM on:
LinkedIn: https://linkedin.com/company/rockthejvm
Twitter: https://twitter.com/rockthejvm
Blog: https://rockthejvm.com/blog
-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------