map is:exact -package:base-compat -package:basement -package:base package:foldl

Fold pairs into a map.