Portability | portable |
---|---|
Stability | experimental |
Maintainer | ross@soi.city.ac.uk |
Safe Haskell | Safe-Infered |
Control.Monad.Trans.List
Description
The ListT monad transformer, adding backtracking to a given monad, which must be commutative.
Synopsis
The ListT monad transformer
Parameterizable list monad, with an inner monad.
Note: this does not yield a monad unless the argument monad is commutative.
Instances
Lifting other operations
liftCallCC :: ((([a] -> m [b]) -> m [a]) -> m [a]) -> ((a -> ListT m b) -> ListT m a) -> ListT m aSource
Lift a callCC
operation to the new monad.