MonadCompose-0.9.0.0: Methods for composing monads.

Safe HaskellSafe
LanguageHaskell98

Control.Monad.Lifter

Synopsis

Documentation

class Lifter m n where Source #

An automatic lifter. The idea of automatic lifting is due to Dan Piponi.

Methods

lf :: m t -> n t Source #

Instances
Lifter IO IO Source # 
Instance details

Defined in Control.Monad.Lifter

Methods

lf :: IO t -> IO t Source #

Lifter Identity Identity Source # 
Instance details

Defined in Control.Monad.Lifter

Methods

lf :: Identity t -> Identity t Source #

(MonadTrans n, Monad x, Lifter m x) => Lifter m (n x) Source # 
Instance details

Defined in Control.Monad.Lifter

Methods

lf :: m t -> n x t Source #

Lifter (ST RealWorld) IO Source # 
Instance details

Defined in Control.Monad.Lifter

Methods

lf :: ST RealWorld t -> IO t Source #

(Monad x, MFunctor m) => Lifter (m Identity) (m x) Source # 
Instance details

Defined in Control.Monad.Lifter

Methods

lf :: m Identity t -> m x t Source #

Lifter (ST s) (ST s) Source # 
Instance details

Defined in Control.Monad.Lifter

Methods

lf :: ST s t -> ST s t Source #