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

Map a function over a NonEmpty stream.