Asynchronous exceptions and resume

2003-03-26 Thread Nick Name
Hi all, is there a way, or is it planned to, or has anyone published articles on... resuming from asynchronous exceptions? I mean: it would be useful there was a suspend :: ThreadID - IO () where the result is the remaining computation of the other thread, wich one could forkIO again, or

Re: how to track down infinite loop?

2003-03-26 Thread Olaf Chitil
David Roundy wrote: Any ideas for tricks to see where a program is looping indefinitely? I'm sure I can track down this bug pretty easily, but is seems like this is something one really ought to be able to do... May I answer your question by advertising the Haskell tracer Hat?

Re: how to track down infinite loop?

2003-03-26 Thread David Roundy
On Wed, Mar 26, 2003 at 07:40:30AM -0800, Andy Moran wrote: On Wednesday 26 March 2003 07:23 am, David Roundy wrote: I would try using Debug.Trace.trace. It takes a string and an expression, and returns the expressions while outputting the string to stderr (I think). You can choose your