[Haskell-cafe] Re: hGetContents and lazyness

2008-09-23 Thread Max Vasin
Micah Cowan [EMAIL PROTECTED] writes: Max Vasin wrote: Hello, haskellers! Suppose we have function (it filters package filenames from apt Packages file): getPackageList :: FilePath - IO [FilePath] getPackageList packageFile = withFile packageFile ReadMode $

Re: [Haskell-cafe] Re: hGetContents and lazyness

2008-09-23 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max Vasin wrote: Micah Cowan [EMAIL PROTECTED] writes: I think we'd need to see the actual input and expected output, to understand what's going wrong here. It worked fine for me, for small tests. The gzipped example file is here: