map is:exact -package:basement -package:insert-ordered-containers package:foldl

Fold pairs into a map.