[Haskell-cafe] Purpose of Control.Monad.Base class
headprogrammingczar at gmail.com
Sat Feb 4 15:13:35 UTC 2017
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:
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:
> I am trying to understand the purpose of the MonadBase class.
> 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.
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe