Safe Haskell | None |
---|
The MonadError class
class Monad m => MonadError e m | m -> e whereSource
MonadError SomeException IO | |
MonadError Void [] | |
MonadError Void Maybe | |
MonadError e (Either e) | |
Monad m => MonadError Void (ListT m) | |
MonadError e m => MonadError e (StateT s m) | |
(Monad m, Monoid w) => MonadError Void (ParserT w c m) | |
(Monoid w, MonadError e m) => MonadError e (RWST r w s m) |
try :: MonadError Void m => m a -> m a -> m aSource
tryMay :: MonadError e m => m a -> m (Maybe a)Source
The Either transformer
MonadTrans (EitherT e) | |
Unit m => Unit (EitherT e m) | |
MonadFix m => MonadFix (EitherT e m) | |
Monad m => Monad (EitherT e m) | |
Applicative m => Applicative (EitherT e m) | |
Functor m => Functor (EitherT e m) | |
Foldable m => Foldable (EitherT e m) | |
Traversable m => Traversable (EitherT e m) |