map -package:containers -package:bytestring -package:base-compat-batteries is:exact -package:ghc -package:hedgehog package:foldl

Fold pairs into a map.