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

Map a function over a NonEmpty stream.