| ||||
| ||||
Documentation | ||||
data StateT s m a | ||||
| ||||
stateT :: (s -> m (a, s)) -> StateT s m a | ||||
runStateT :: s -> StateT s m a -> m (a, s) | ||||
data WriterT w m a | ||||
| ||||
writerT :: (Monoid w, Monad m) => m (a, w) -> WriterT w m a | ||||
runWriterT :: Monoid w => WriterT w m a -> m (a, w) | ||||
data ReaderT s m a | ||||
| ||||
readerT :: Monad m => (e -> m a) -> ReaderT e m a | ||||
runReaderT :: s -> ReaderT s m a -> m a | ||||
data ExcT x m a | ||||
| ||||
excT :: Monad m => m (Either x a) -> ExcT x m a | ||||
runExcT :: Monad m => ExcT x m a -> m (Either x a) | ||||
data ContT r m a | ||||
| ||||
contT :: ((a -> m r) -> m r) -> ContT r m a | ||||
runContT :: (a -> m r) -> ContT r m a -> m r | ||||
data StepT f m x | ||||
| ||||
stepT :: m (Either x (f (StepT f m x))) -> StepT f m x | ||||
runStepT :: StepT f m x -> m (Either x (f (StepT f m x))) | ||||
caseStepT :: (Functor f, Monad m) => (a -> StepT f m x) -> (f (StepT f m a) -> StepT f m x) -> StepT f m a -> StepT f m x | ||||
unfoldStepT :: (Functor f, Monad m) => (y -> m (Either x (f y))) -> y -> StepT f m x | ||||
data ListT m a | ||||
| ||||
listT :: m (LSig (ListT m) a ()) -> ListT m a | ||||
runListT :: ListT m a -> m (LSig (ListT m) a ()) | ||||
foldListT :: Monad m => (a -> m b -> m b) -> m b -> ListT m a -> m b | ||||
collectListT :: Monad m => ListT m a -> m [a] | ||||
emptyL :: Monad m => ListT m a | ||||
appendL :: Monad m => ListT m a -> ListT m a -> ListT m a | ||||
module Monatron.MonadT | ||||
module Data.Monoid | ||||
Produced by Haddock version 2.4.2 |