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

Fold pairs into a map.