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

Fold pairs into a map.