Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Utils for Monads
Documentation
class MonadIO m => MonadInIO m where Source #
liftWith :: (forall c. (a -> IO c) -> IO c) -> (a -> m b) -> m b Source #
Lift with*-like functions into IO (alloca, etc.)
liftWith2 :: (forall c. (a -> b -> IO c) -> IO c) -> (a -> b -> m e) -> m e Source #
Lift with*-like functions into IO (alloca, etc.)
module Control.Monad
module Control.Monad.IO.Class
module Control.Monad.Extra
module Control.Monad.Trans.Class