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

Map a function over a NonEmpty stream.