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

Fold pairs into a map.