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

Map a function over a NonEmpty stream.