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

Fold pairs into a map.