effects-0.2.2: Computational Effects

Safe HaskellSafe-Infered

Control.Effects.Error

Documentation

throwError :: AutoLift ((e -> m r) -> m r) m n => Effect ((e -> m r) -> m r) m -> e -> n VoidSource

catchError :: Monad m => (e -> m a) -> Handler ((e -> m a) -> m a) a m aSource