[Haskell-cafe] Multidimensional Matrices in Haskell

Mihai Maruseac mihai.maruseac at gmail.com
Fri Jul 9 00:46:53 EDT 2010

On Fri, Jul 9, 2010 at 4:50 AM, Daniel Cook <danielkcook at gmail.com> wrote:
> Have you considered http://hackage.haskell.org/package/hTensor ?
> On Wed, Jul 7, 2010 at 9:58 PM, John Lato <jwlato at gmail.com> wrote:
>> 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 <mihai.maruseac at gmail.com>
>>> 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?

Thanks for the input.

Will test all of them :)

More information about the Haskell-Cafe mailing list