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

Fold pairs into a map.