util-exception-0.2.0.0: Exceptional utilities

Safe HaskellNone
LanguageHaskell2010

Util.Exception

Documentation

handleJusts :: (MonadBaseControl m, Base m ~ IO) => [ExceptionPredicate b] -> (b -> m a) -> m a -> m a Source #

data ExceptionPredicate b Source #

Constructors

Exception e => ExceptionPredicate (e -> Maybe b)