map -package:base -package:containers -package:Cabal-syntax is:exact package:foldl

Fold pairs into a map.