Hello, 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. John > From: Mihai Maruseac <[email protected]> > > Hi, > > 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 > kind. > > Any hints? > > -- > MM > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
