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

Fold pairs into a map.