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

Fold pairs into a map.