map -package:dlist is:exact -package:base-compat-batteries -package:ghc -package:base package:foldl

Fold pairs into a map.