Re[2]: [Haskell-cafe] directory tree?

2007-06-25 Thread Bulat Ziganshin
Hello Chad,

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


-- 
Best regards,
 Bulatmailto:[EMAIL PROTECTED]

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: Re[2]: [Haskell-cafe] directory tree?

2007-06-25 Thread Chad Scherrer

Bulat,

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 [EMAIL PROTECTED] 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

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe