map -package:basement -package:ghc -is:exact -package:dlist is:exact -package:imports package:foldl

Fold pairs into a map.