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

Fold pairs into a map.