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

Map a function over a NonEmpty stream.