A function for lifting a computation from an inner Monad
to an outer Monad
.
Like Haskell's MonadTrans
, but n
does not have to be a monad transformer.
Alternatively, an implementation of MonadLayer
without layerInvmap
(so far).
Instance Constructor
MonadLift.mk.{u, v, w}
Methods
monadLift : {α : Type u} → m α → n α
Lifts a value from monad m
into monad n
.