transformers-eff-0.2.1.0: An approach to managing composable effects, ala mtl/transformers/extensible-effects/Eff

Safe HaskellNone
LanguageHaskell2010

Control.Effect.Exception

Documentation

class Monad m => EffException e m | m -> e where Source #

Minimal complete definition

liftEither

Methods

liftEither :: Either e a -> m a Source #

Instances

EffException e m => EffException e (Eff f m) Source # 

Methods

liftEither :: Either e a -> Eff f m a Source #

Monad m => EffException e (Eff (Either e) m) Source # 

Methods

liftEither :: Either e a -> Eff (Either e) m a Source #

try :: Monad m => Eff (Either e) m a -> m (Either e a) Source #

throw :: EffException e m => e -> m a Source #

liftEither :: EffException e m => Either e a -> m a Source #

effToExceptT :: Monad m => Eff (Either e) m a -> ExceptT e m a Source #

exceptTToEff :: (Monad m, EffException e m) => ExceptT e m a -> m a Source #