map -package:dense-linear-algebra -package:ghc -is:exact -package:bytestring package:foldl is:exact

Fold pairs into a map.