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

Fold pairs into a map.