| Subject: | Re: [Haskell-cafe] Copying Arrays |
|---|---|
| From: | Bryan O'Sullivan |
| Date: | Thu, 29 May 2008 10:07:26 -0700 |
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
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Haskell-cafe] appending an element to a list, Adrian Neumann |
|---|---|
| Next by Date: | Re: [Haskell-cafe] Aren't type system extensions fun? [Further analysis], Roberto Zunino |
| Previous by Thread: | Re: [Haskell-cafe] Copying Arrays, Jefferson Heard |
| Next by Thread: | Re: [Haskell-cafe] Copying Arrays, Tom Harper |
| Indexes: | [Date] [Thread] [Top] [All Lists] |