map -package:base-prelude -package:aeson -package:containers -package:base is:exact package:foldl

Fold pairs into a map.