
It's a version of lift that penetrates a long chain of MonadTrans-y types. It's a more general version of things like this: https://hackage.haskell.org/package/mtl-2.2.1/docs/Control-Monad-State-Class... Pay attention to the instances, and work out how they resolve this: liftBase :: IO a -> IdentityT (IdentityT (IdentityT IO)) a On 2/4/2017 10:06 AM, Guru Devanla wrote:
Hello,
I am trying to understand the purpose of the MonadBase class.
https://hackage.haskell.org/package/transformers-base-0.4.4/docs/Control-Mon...
Google search did not give me any helpful answers. Please could some one help me understand the purpose of this class and also point me to any good resources.
Thanks Guru
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.