transformers-base-0.4.4: Lift computations from the bottom of a transformer stack

Safe HaskellSafe
LanguageHaskell98

Control.Monad.Base

Synopsis

Documentation

class (Applicative b, Applicative m, Monad b, Monad m) => MonadBase b m | m -> b where Source

Methods

liftBase :: b α -> m α Source

Lift a computation from the base monad

liftBaseDefault :: (MonadTrans t, MonadBase b m) => b α -> t m α Source

Can be used as a default implementation for liftBase.

Note that: liftBaseDefault = lift . liftBase