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

Fold pairs into a map.