map -package:charset -package:dense-linear-algebra is:exact -package:dlist package:foldl

Fold pairs into a map.