map -is:exact -package:containers -package:case-insensitive is:exact -package:base package:foldl

Fold pairs into a map.