map -package:bytestring is:exact -package:filepath -package:base-compat-batteries package:foldl

Fold pairs into a map.