Safe Haskell | None |
---|---|
Language | Haskell2010 |
Distribution.Utils.MapAccum
Synopsis
- mapAccumM :: ( Monad m, Traversable t) => (a -> b -> m (a, c)) -> a -> t b -> m (a, t c)
Documentation
mapAccumM :: ( Monad m, Traversable t) => (a -> b -> m (a, c)) -> a -> t b -> m (a, t c) Source #
Monadic variant of
mapAccumL
.