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

Map a function over a NonEmpty stream.