Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class Monad m => MonadList m where
- data ListT m a
- listT :: Iso (ListT m a) (ListT m' a') (m [a]) (m' [a'])
- newtype TreeT m a = TreeT (Compose' Tree m a)
- treeT :: Iso (TreeT m a) (TreeT n b) (m (Tree a)) (n (Tree b))
- newtype MaybeT m a = MaybeT (Compose' Maybe m a)
- maybeT :: Iso (MaybeT m a) (MaybeT m' b) (m (Maybe a)) (m' (Maybe b))
- newtype StrictT m a = StrictT (Compose' Strict m a)
- strictT :: Iso (StrictT m a) (StrictT m' b) (m (Strict a)) (m' (Strict b))
The MonadList class
class Monad m => MonadList m where Source #
MonadList m => MonadList (Free m) Source # | |
Monad m => MonadList (ListT m) Source # | |
MonadList m => MonadList (ReaderT r m) Source # | |
MonadList m => MonadList (StateT s m) Source # | |
(MonadList m, Monoid w) => MonadList (WriterT w m) Source # | |
(Monad m, Invertible t) => MonadList (ProbT t m) Source # | |
(Monoid w, MonadList m) => MonadList (RWST r w s m) Source # | |
Foldable monads transformers
The List transformer
MonadTrans ListT Source # | |
Monad m => MonadError Void (ListT m) Source # | |
MonadWriter w m => MonadWriter w (ListT m) Source # | |
MonadState s m => MonadState s (ListT m) Source # | |
Unit m => Unit (ListT m) Source # | |
Monad m => MonadList (ListT m) Source # | |
MonadFix m => MonadFix (ListT m) Source # | |
Traversable m => Traversable (ListT m) Source # | |
Foldable m => Foldable (ListT m) Source # | |
Monad m => Monad (ListT m) Source # | |
Applicative m => Applicative (ListT m) Source # | |
SemiApplicative m => SemiApplicative (ListT m) Source # | |
Functor m => Functor (ListT m) Source # | |
Applicative m => Monoid (ListT m a) Source # | |
SemiApplicative m => Semigroup (ListT m a) Source # | |
The Tree transformer
MonadTrans TreeT Source # | |
MonadWriter w m => MonadWriter w (TreeT m) Source # | |
MonadReader r m => MonadReader r (TreeT m) Source # | |
MonadState s m => MonadState s (TreeT m) Source # | |
Unit m => Unit (TreeT m) Source # | |
MonadFix m => MonadFix (TreeT m) Source # | |
Traversable m => Traversable (TreeT m) Source # | |
Foldable m => Foldable (TreeT m) Source # | |
Monad m => Monad (TreeT m) Source # | |
Applicative m => Applicative (TreeT m) Source # | |
SemiApplicative m => SemiApplicative (TreeT m) Source # | |
Functor m => Functor (TreeT m) Source # | |
The Maybe transformer
MonadTrans MaybeT Source # | |
MonadWriter w m => MonadWriter w (MaybeT m) Source # | |
MonadReader r m => MonadReader r (MaybeT m) Source # | |
MonadState s m => MonadState s (MaybeT m) Source # | |
Unit m => Unit (MaybeT m) Source # | |
MonadFix m => MonadFix (MaybeT m) Source # | |
Traversable m => Traversable (MaybeT m) Source # | |
Foldable m => Foldable (MaybeT m) Source # | |
Monad m => Monad (MaybeT m) Source # | |
Applicative m => Applicative (MaybeT m) Source # | |
SemiApplicative m => SemiApplicative (MaybeT m) Source # | |
Functor m => Functor (MaybeT m) Source # | |
Applicative m => Monoid (MaybeT m a) Source # | |
SemiApplicative m => Semigroup (MaybeT m a) Source # | |
The Strict Monad transformer
MonadTrans StrictT Source # | |
MonadWriter w m => MonadWriter w (StrictT m) Source # | |
MonadReader r m => MonadReader r (StrictT m) Source # | |
MonadState s m => MonadState s (StrictT m) Source # | |
Unit m => Unit (StrictT m) Source # | |
MonadFix m => MonadFix (StrictT m) Source # | |
Traversable m => Traversable (StrictT m) Source # | |
Foldable m => Foldable (StrictT m) Source # | |
Monad m => Monad (StrictT m) Source # | |
Applicative m => Applicative (StrictT m) Source # | |
SemiApplicative m => SemiApplicative (StrictT m) Source # | |
Functor m => Functor (StrictT m) Source # | |