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

Map a function over a NonEmpty stream.