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

Fold pairs into a map.