A set of recommended Haskell libraries for data analysis together with example usage.
To build & run:
stack install && data-haskell-examples
vector is an efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework.
hmatrix is a linear algebra and matrix library, using the Data.Vector.Storable instance in the vector package under the hood.
See examples.hs