monadology-0.3: The best ideas in monad-related classes and types.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Monad.Ology.Specific.ResultT

Synopsis

Documentation

runResultT :: forall m e a. ResultT e m a -> m (Result e a) Source #

throwR :: forall m e a. Monad m => e -> ResultT e m a Source #

Throw the parameterised exception type.

catchR :: forall m e e' a. Monad m => ResultT e m a -> (e -> ResultT e' m a) -> ResultT e' m a Source #

Catch the parameterised exception type.

resultExn :: forall m e. Monad m => Exn (ResultT e m) e Source #