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

Map a function over a NonEmpty stream.