Tom Harper wrote:
> I'm trying to implement some file I/O where I can read in a file to an
> array, but do so without having to know how much space I will need.

Why not just read it into a lazy ByteString?  Are you looking to use an
array with elements of a different type?  You could then convert it to a
strict ByteString.

        <b
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to