effects-0.2.3: Computational Effects

Safe HaskellSafe
LanguageHaskell98

Control.Effects.Either

Documentation

throwEither :: AutoLift (Either e r) m n => Effect (Either e r) m -> e -> n Void Source #

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