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

Map a function over a NonEmpty stream.