[Haskell-cafe] Are storable-mutable-vectors in two dimensions possible in Haskell?

2012-12-01 Thread Fixie Fixie
Hello haskellers I am struggling with this package: Data.Vector.Storable.Mutable I am creating vectors like this: MV.new 1000 :: IO (V.MVector (PrimState IO) Int) Now I would like access to this vectors in linear time, like I could have done in C using pointers. The problem is that I do not

Re: [Haskell-cafe] Are storable-mutable-vectors in two dimensions possible in Haskell?

2012-12-01 Thread Dmitry Dzhus
01.12.2012, 15:14, Fixie Fixie fixie.fi...@rocketmail.com: Hello haskellers I am struggling with this package: Data.Vector.Storable.Mutable I am creating vectors like this: MV.new 1000 :: IO (V.MVector (PrimState IO) Int) Now I would like access to this vectors in linear time, like I could