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

Fold pairs into a map.