map -package:containers -package:insert-ordered-containers -package:amazonka-core -package:dense-linear-algebra -package:dlist -package:aeson -package:ghc -package:monoidal-containers -package:conduit -package:base-compat -package:base -package:base-compat-batteries -package:hedgehog -package:integration -package:imports -package:filepath

map f xs is the list obtained by applying f to each element of xs, i.e.,
map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]
>>> map (+1) [1, 2, 3]
[2,3,4]
Map all element a from a block to a new block of b
Map all elements in a list
Combinator for the <map> element. Example:
map $ span $ toHtml "foo"
Result:
<map><span>foo</span></map>
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.
Transform the original string-like value but keep it case insensitive.
Fold pairs into a map.
Apply a bijection over a list using map.
O(n) map f xs is the OsString 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 f xs is the OsString obtained by applying f to each element of xs.
O(n) map f xs is the OsString obtained by applying f to each element of xs.
Apply a function to all values flowing downstream
map id = cat

map (g . f) = map f >-> map g
O(n) Modify every value in the queue.
O(n) Modify every value in the queue.
O(n) Modify every value in the queue.