map -package:containers -package:charset -package:integration -package:imports -package:ghc -package:monoidal-containers -package:conduit is:exact -package:hedgehog -package:basement -package:aeson package:base

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 a function over a NonEmpty stream.