mtl-2.0.1.0: Monad classes, using functional dependencies

Portabilityportable
Stabilityexperimental
Maintainerlibraries@haskell.org

Control.Monad.List

Description

The List monad.

Documentation

newtype ListT m a

Constructors

ListT 

Fields

runListT :: m [a]
 

Instances

MonadTrans ListT 
MonadState s m => MonadState s (ListT m) 
MonadReader r m => MonadReader r (ListT m) 
MonadError e m => MonadError e (ListT m) 
Monad m => Monad (ListT m) 
Functor m => Functor (ListT m) 
Monad m => MonadPlus (ListT m) 
Applicative m => Applicative (ListT m) 
MonadIO m => MonadIO (ListT m) 
Applicative m => Alternative (ListT m) 
MonadCont m => MonadCont (ListT m) 

mapListT :: (m [a] -> n [b]) -> ListT m a -> ListT n b