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

Fold pairs into a map.