map -package:charset is:exact -package:bytestring -package:containers -package:base package:foldl

Fold pairs into a map.