ether-0.1.0.0: Monad transformers and classes
Control.Monad.Ether.Implicit.Except.TH
Description
Template Haskell utilities for exception handling.
Synopsis
try' :: Functor m => ExceptT e m a -> (e -> a) -> m a Source
Basic building block for try. Runs an ExceptT with a handler.
try
ExceptT
try :: Int -> ExpQ Source
Handle n exceptions with supplied handlers.
n
$(try 3) monadicComputation (\Exception1 -> ...) (\Exception2 -> ...) (\Exception3 -> ...)