monads-tf-0.0.0.0: Monad classes, using type familiesSource codeContentsIndex
Control.Monad.List
Portabilityportable
Stabilityexperimental
Maintainerlibraries@haskell.org
Description
The List monad.
Synopsis
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 Source

Parameterizable list monad, with an inner monad.

Note: this does not yield a monad unless the argument monad is commutative.

Constructors
ListT
runListT :: m [a]
show/hide Instances
mapListT :: (m [a] -> n [b]) -> ListT m a -> ListT n bSource
module Control.Monad
module Control.Monad.Trans
Produced by Haddock version 2.6.0