A Map from keys k to values a.
The Semigroup operation for Map is union, which
prefers values from the left operand. If m1 maps a key
k to a value a1, and m2 maps the same key
to a different value a2, then their union m1 <>
m2 maps k to a1.
The mapAccumL function behaves like a combination of map
and foldl; it applies a function to each element of a
ByteString, passing an accumulating parameter from left to right, and
returning a final value of this accumulator together with the new
ByteString.
The mapAccumR function behaves like a combination of map
and foldr; it applies a function to each element of a
ByteString, passing an accumulating parameter from right to left, and
returning a final value of this accumulator together with the new
ByteString.
The mapAccumL function behaves like a combination of map
and foldl; it applies a function to each element of a
ByteString, passing an accumulating parameter from left to right, and
returning a final value of this accumulator together with the new
ByteString.
The mapAccumR function behaves like a combination of map
and foldr; it applies a function to each element of a
ByteString, passing an accumulating parameter from right to left, and
returning a final value of this accumulator together with the new
ByteString.