Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Control.Monad.Trans.List
Description
Free list monad transformer
Documentation
The free list monad transformer.
It is implemented as a rose tree (see https://en.wikipedia.org/wiki/Rose_tree)
of computations in m
.
Instances
flatten :: Monad m => ListT m a -> ListT m a Source #
Flatten all layers of computations to a single one.