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

Map a function over a NonEmpty stream.