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

Map a function over a NonEmpty stream.