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

Fold pairs into a map.