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

Fold pairs into a map.