map -is:exact -package:base -package:ghc -package:basement is:exact -package:hedgehog package:foldl

Fold pairs into a map.