Anatomy, care and feeding of the State monad
Descending deeper down the rabbit hole of striving to understand monad-nature in Scala, it’s time to take a look at a monad that is not a collection, nor an Option, nor an Either, nor a Future. The State monad seems to qualify. Of course, the scalaz…