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

Fold pairs into a map.