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

Map a function over a NonEmpty stream.