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

Map a function over a NonEmpty stream.