> 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
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