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

Map a function over a NonEmpty stream.