Traditional sparse linear algebra in Haskell