Portability | portable |
---|---|
Stability | experimental |
Maintainer | libraries@haskell.org |
Control.Monad.List
Description
The List monad.
- newtype ListT m a = ListT {
- runListT :: m [a]
- mapListT :: (m [a] -> n [b]) -> ListT m a -> ListT n b
- module Control.Monad
- module Control.Monad.Trans
Documentation
newtype ListT m a
Parameterizable list monad, with an inner monad.
Note: this does not yield a monad unless the argument monad is commutative.
module Control.Monad
module Control.Monad.Trans