Control.Monad.List
Copyright | (c) Andy Gill 2001 (c) Oregon Graduate Institute of Science and Technology 2001 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | [email protected] |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Description
The List monad.
newtype ListT (m :: Type -> Type) a Source
Parameterizable list monad, with an inner monad.
Note: this does not yield a monad unless the argument monad is commutative.
Instances
mapListT :: (m [a] -> n [b]) -> ListT m a -> ListT n b Source
Map between ListT
computations.
module Control.Monad
module Control.Monad.Trans
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.10.2/docs/html/libraries/mtl-2.2.2/Control-Monad-List.html