Hi,

> By manually copying over the bytes - here's the version that I'll
> probably add to the MutableArray interface:
> 
> ...
> 
> The unsafe version of this and thawArray should be supported in the
> next release too.

Do unsafeThawArray and unsafeFreezeArray avoid the copying?
That would be necessary because the array's are large.

A last question: Why do hFillBufBA and hPutBufBA only support the indextype Int?
I would need (Int,Int)? Or is there any *cheap* convertion present?

Thanks
Martin Stein

PS: I ever thought that such file operations are quite usual. Why don't they
appear in the standard prelude?

Reply via email to