Understand Monad Transformers(2)
This is a reading notes from the great book named book of monads. It helps me a lot and I quite recommend you to read it if you have any plan to read books about haskell monads.
This is the following article after understand monad transformers as there are some confusions and missing points in the previous blog.
Previous blog focused on when to use monad transformers, and how we understand the monad transformer creates a new powerful monad which supports both monadT and underlying monad features.
After several months, I would rather to say it didn't point out the core part of monad transformer, which is how the monad transformer supports the underlying monad functionalities via type class.
- what's the problem of stacking monads(the reason why we need monad transformer)
- why we can use features from both monad and monad transformer under the scope of monad transformer.