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

Map a function over a NonEmpty stream.