map -package:containers -package:base -is:exact -package:basement -package:foldl is:exact -package:conduit -package:invertible -package:case-insensitive -package:hedgehog -package:integration package:ghc

Apply a function to each element of a Stream, lazily
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]