map is:exact -package:base-prelude -package:bytestring -package:dlist -package:base package:foldl

Fold pairs into a map.