map -package:dlist -package:base-compat -package:base-prelude -package:ghc is:exact package:foldl

Fold pairs into a map.