map -package:base-compat-batteries -package:containers is:exact -package:foldl package:base-compat

Map a function over a NonEmpty stream.