[Haskell-cafe] Re: Left fold enumerator - a real pearl overlooked?
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Mon Mar 2 11:08:01 EST 2009
On 2009 Mar 2, at 7:40, Manlio Perillo wrote:
> Bayley, Alistair ha scritto:
>>> All the file is consumed, before the result is returned.
>> This only works if the entire file can reasonably fit into memory.
>
> It's not the entire file, but only the parsed data structure.
...which, depending on what you're doing with it, can be larger than
the original file (consider lists).
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090302/e84e9a11/PGP.bin
More information about the Haskell-Cafe
mailing list