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

Map a function over a NonEmpty stream.