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

Fold pairs into a map.