[Haskell-cafe] Infinite loop?

2006-02-17 Thread rgo
Hi all, my program probably goes into infinite loop... But i cannot understand where and why. code: import System.Directory data MyFile = MyDir { dir_name :: String, dir_files :: [MyFile] } | MyFile { file_name :: String }

Re: [Haskell-cafe] Infinite loop?

2006-02-17 Thread rgo
On Fri, 17 Feb 2006 17:19:53 + Jon Fairbairn [EMAIL PROTECTED] wrote: 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