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

Map a function over a NonEmpty stream.