
17 Feb
2006
17 Feb
'06
12:22 p.m.
Yep. change one line to:
entry <- if isdir && name /= "." && name /= ".."
and it does in fact work.
Jared.
On 2/17/06, Jon Fairbairn
On 2006-02-17 at 20:12GMT rgo wrote:
Hi all, my program probably goes into infinite loop... But i cannot understand where and why.
getDirectoryContents will include "." and "..", so if you follow those, you're bound to loop.
-- Jón Fairbairn Jon.Fairbairn at cl.cam.ac.uk
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- http://www.updike.org/~jared/ reverse ")-:"