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

Fold pairs into a map.