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

Fold pairs into a map.