map -package:Cabal -package:base -package:text -is:exact -package:containers -package:ghc -package:blaze-html
O(n) map f xs is the ByteString obtained by
applying
f to each element of
xs.
O(n) map f xs is the ByteString obtained by
applying
f to each element of
xs
O(n) map f xs is the ShortByteString obtained
by applying
f to each element of
xs.
O(n) Map a function over a vector.
O(n) Map a function over a vector.
O(n) Map a function over a vector.
O(n) Map a function over a vector.
O(n) Map a function over a vector.
Transform this map by applying a function to every value.
Transform this set by applying a function to every value.
The resulting set may be smaller than the source.
>>> HashSet.map show (HashSet.fromList [1,2,3])
HashSet.fromList ["1","2","3"]
Transform the original string-like value but keep it case insensitive.
Not on Stackage, so not searched.
Class of key-value maps
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.
Apply a transformation to the other computation.
Map both the return value and output of a computation using the given
function.
Map both the return value and output of a computation using the given
function.
Apply a function to transform the result of a continuation-passing
computation.
Apply a function to transform the result of a continuation-passing
computation. This has a more restricted type than the
map
operations for other monad transformers, because
ContT does not
define a functor in the category of monads.
Map the unwrapped computation using the given function.