Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Basic1 m, Monad m, Monad (Base m)) => MonadBaseControl m where Source #
Instances
type RunInBaseDefault t m = forall a. t m a -> Base m (ComposeSt t m a) Source #
defaultLiftBaseWith :: (MonadTransControl t, MonadBaseControl m) => (RunInBaseDefault t m -> Base m a) -> t m a Source #
defaultRestoreM :: (MonadTransControl t, MonadBaseControl m) => ComposeSt t m a -> t m a Source #
liftBaseOp :: MonadBaseControl m => ((a -> Base m (StM m b)) -> Base m (StM m c)) -> (a -> m b) -> m c Source #
liftBaseOp_ :: MonadBaseControl m => (Base m (StM m a) -> Base m (StM m b)) -> m a -> m b Source #
liftBaseDiscard :: MonadBaseControl m => (Base m () -> Base m a) -> m () -> m a Source #
liftBaseOpDiscard :: MonadBaseControl m => ((a -> Base m ()) -> Base m b) -> (a -> m ()) -> m b Source #