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

Fold pairs into a map.