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

Fold pairs into a map.