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

Fold pairs into a map.