[Haskell-cafe] Comments and suggestions on code

Andre Nathan andre at digirati.com.br
Sat Jan 12 19:42:20 EST 2008


On Sat, 2008-01-12 at 16:00 -0800, Jonathan Cast wrote:
> Wait, the last entry?  If you're just printing out the values, then  
> no --- those should have been garbage collected already.

Won't they be garbage collected only after the last entry is used,
though? Since getDirectoryEntries returns a list, won't its elements
have to be kept until the list is not used anymore, i.e., after the last
entry is processed?

Andre



More information about the Haskell-Cafe mailing list