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

Fold pairs into a map.