[Haskell-cafe] Comments and suggestions on code

Andre Nathan andre at digirati.com.br
Sun Jan 13 09:46:12 EST 2008


On Sat, 2008-01-12 at 21:39 -0800, Jonathan Cast wrote:
> No.  A cell is generated once either (a) it, or (b) a cell earlier in  
> the list, is required.  A cell is garbage collected once both (a) it,  
> and (b) all cells earlier in the list, are no longer required.  So if  
> you process the list strictly sequentially, it will be generated and  
> garbage collected sequentially.

Understood. Thanks Jonathan and Luke for your answers!

Best,
Andre



More information about the Haskell-Cafe mailing list