«Monad Stacks or: How I Learned to Stop Worrying and Love the Free Monad, and other stories», Harry Laoulakos

«Monad Stacks or: How I Learned to Stop Worrying and Love the Free Monad, and other stories», Harry Laoulakos

In this talk, I will demonstrate various techniques, such as: Monad Transformers, Effects libraries, and Free monads. These techniques can be used to transform scala “spaghetti” code (that is embedded maps, flatmaps and pattern matching) to cleaner code that almost looks like imperative code.