[Haskell-cafe] directory tree?

Chad Scherrer chad.scherrer at gmail.com
Mon Jun 25 15:56:09 EDT 2007


I don't think I can. (1) (de)compress is defined for lazy bytestrings,
and (2) my data comes to me compressed in order to fit it all on a
single DVD. So even if I could uncompress each file strictly, I
couldn't hold such a big strict bytestring in memory at once.

On 6/25/07, Bulat Ziganshin <bulat.ziganshin at gmail.com> wrote:
> Monday, June 25, 2007, 10:47:11 PM, you wrote:
> > bar = fmap decompress $ B.readFile "myData.gz"
> try it with non-lazy bytestrings:
> import qualified Data.ByteString as B

More information about the Haskell-Cafe mailing list