Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- newtype StringErrorT m a = StringErrorT {
- runStringErrorT :: m (Either String a)
- mapStringErrorT :: (m (Either String a) -> n (Either String b)) -> StringErrorT m a -> StringErrorT n b
Documentation
newtype StringErrorT m a Source #
StringErrorT | |
|
MonadTrans StringErrorT Source # | |
Monad m => Monad (StringErrorT m) Source # | |
Functor m => Functor (StringErrorT m) Source # | |
Monad m => MonadFail (StringErrorT m) Source # | |
(Functor m, Monad m) => Applicative (StringErrorT m) Source # | |
Foldable f => Foldable (StringErrorT f) Source # | |
Traversable f => Traversable (StringErrorT f) Source # | |
MonadIO m => MonadIO (StringErrorT m) Source # | |
(Functor m, Monad m) => Alternative (StringErrorT m) Source # | |
Monad m => MonadPlus (StringErrorT m) Source # | |
mapStringErrorT :: (m (Either String a) -> n (Either String b)) -> StringErrorT m a -> StringErrorT n b Source #
Transform the computation inside a StringErrorT
.
runStringErrorT
(mapStringErrorT
f m) = f (runStringErrorT
m)