map -package:ghc -is:exact -package:basement -package:foldl package:base-compat-batteries is:exact

Map a function over a NonEmpty stream.