map -package:base-prelude is:exact -package:containers -package:bytestring package:base-compat

Map a function over a NonEmpty stream.