map -package:ghc is:exact -package:dense-linear-algebra -package:dlist -package:base package:foldl

Fold pairs into a map.