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

Map a function over a NonEmpty stream.