RE: compiled program loops

2000-04-11 Thread Simon Marlow
> In the real application I also get the error: > bingraph: fatal error: evacuate: THUNK_SELECTOR: strange selectee 27 > which I'm hoping is related, because I have no idea what it means and > I can't reproduce this in an example program. Any idea where I should > be looking for the cause of this

RE: compiled program loops

2000-04-11 Thread Simon Peyton-Jones
Jan I believe you may have been bitten by the Dreaded Stderr Bug, like several others. Simple solution: don't use trace. Possible workaround (but I'm not sure given your heavily nested traces) main = stderr `seq` (...whatever you had before...) Simon M has the I/O library in pieces on the fl

compiled program loops

2000-04-08 Thread Jan Kort
I compiled a program using ghc version 4.06 and it goes into a loop, I tried figuring out what goes on with "trace", but it looks as if this is a ghc bug. Wether it loops or not depends on the length of the list: if you remove 1 "Int 1" line in the code below it will finish immediatly. I need a f