map -package:dlist is:exact -package:filepath -package:base -package:ghc package:foldl

Fold pairs into a map.