In my tutorial on using vectors, http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Vector_Tutorial
There's some examples: http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Vector_Tutorial#Impure_Arrays that work in IO, and should work equally well in ST (as vectors are parameterized by either primitive monad). On Fri, Apr 22, 2011 at 10:32 AM, brad clawsie <[email protected]> wrote: > hi all > > i was wondering if anyone could post some minimal examples on using > mutable Vectors in the ST monad. i've been digging around in the usual > places but haven't been able to find anything to get me over the hump > > thanks in advance > brad > > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
