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

Map a function over a NonEmpty stream.