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

Fold pairs into a map.