map -package:ghc -package:containers -package:dlist -package:hedgehog package:foldl is:exact

Fold pairs into a map.