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

Map a function over a NonEmpty stream.