map -package:basement -package:containers -package:dlist is:exact -package:invertible package:foldl

Fold pairs into a map.