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

Fold pairs into a map.