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

Fold pairs into a map.