[Haskell-cafe] Multidimensional Matrices in Haskell
jwlato at gmail.com
Wed Jul 7 16:58:27 EDT 2010
There are a lot of options. The "array" package, which is included
with GHC, provides both mutable and immutable arrays of arbitrary
dimensions. A quick scan of hackage shows ArrayRef, ix-shapable, and
judy as alternatives, among others.
Immutable arrays can be pure, but all mutable array interfaces will
require a monad of some type. I usually think ST-based mutability is
easiest to work with.
> From: Mihai Maruseac <mihai.maruseac at gmail.com>
> A friend of mine wanted to do some Cellular Automata experiments in
> Haskell and was asking me what packages/libraries are there for
> multidimensional matrices. I'm interested in both immutable and
> mutable ones but I don't want them to be trapped inside a monad of any
> Any hints?
More information about the Haskell-Cafe