map -package:basement is:exact -package:filepath -package:base -package:invertible package:foldl

Fold pairs into a map.