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

Fold pairs into a map.