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

Fold pairs into a map.