map -package:Cabal-syntax -package:ghc -package:dlist is:exact -package:base package:foldl

Fold pairs into a map.