effects-0.2.2: Computational Effects

Safe HaskellSafe-Infered

Control.Effects.Either

Documentation

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

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