haskeline-0.3.1: A command-line interface for user input, written in Haskell.Source codeContentsIndex
System.Console.Haskeline.MonadException
Description
This module redefines some of the functions in Control.Exception to work for more general monads than only IO.
Documentation
class MonadIO m => MonadException m whereSource
Methods
catch :: m a -> (Exception -> m a) -> m aSource
block :: m a -> m aSource
unblock :: m a -> m aSource
show/hide Instances
handle :: MonadException m => (Exception -> m a) -> m a -> m aSource
finally :: MonadException m => m a -> m b -> m aSource
throwIO :: MonadIO m => Exception -> m aSource
bracket :: MonadException m => m a -> (a -> m b) -> (a -> m c) -> m cSource
throwDynIO :: (Typeable exception, MonadIO m) => exception -> m aSource
handleDyn :: (Typeable exception, MonadException m) => (exception -> m a) -> m a -> m aSource
Produced by Haddock version 2.4.2