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

Fold pairs into a map.