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

Fold pairs into a map.