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

Fold pairs into a map.