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

Fold pairs into a map.