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

Fold pairs into a map.