map -package:bytestring -package:filepath -package:charset is:exact -package:hedgehog package:foldl

Fold pairs into a map.