map -package:bytestring -package:vector -package:dlist is:exact -package:regex-tdfa package:foldl

Fold pairs into a map.