[Haskell-cafe] Arrays in Clean and Haskell
Roman Leshchinskiy
rl at cse.unsw.edu.au
Tue Nov 3 23:37:54 EST 2009
On 04/11/2009, at 14:38, Philippos Apolinarius wrote:
> And here comes the reason for writing this article. In the previous
> version of the Gauss elimination algorithm, I have imported
> Data.Array.IO. I also wrote a version of the program that imports
> Data.Array.ST. The problem is that I don't know how to read an
> STUArray from a file, process it, and write it back to a file.
Why don't you use the IOUArray directly instead of converting it to
STUArray and back?
Roman
More information about the Haskell-Cafe
mailing list