map -package:base-compat-batteries -package:containers -package:foldl package:base-compat is:exact

Map a function over a NonEmpty stream.