
17 Aug
2010
17 Aug
'10
6:09 a.m.
Travis Erdman wrote:
encodeFile (filename++".sol") (gametype,gstree,newiterlist,newstamplist,result)
mincfr: kclv5.sol: hClose: illegal operation (handle is finalized)
That is a confusing error message caused by a bug in GHC that was just reported a few days ago. The GHC team is fixing it.
putStrLn $ show result
<<loop>>
That is the *real* error message. It means that where you define result, you refer to result also on the right-hand side in a way that is an endless loop instead of well-behaved recursion. We would have to see more of your code to be able to say much more. Regards, Yitz