[Haskell-cafe] Spurious program crashes

Tomasz Zielonka tomasz.zielonka at gmail.com
Mon Nov 21 16:56:55 EST 2005

On Mon, Nov 21, 2005 at 09:50:20PM +0000, Joel Reymont wrote:
> Yes, of course.
> darcs repo at http://test.wagerlabs.com/postmortem.
> logger in Util.hs

It's in Conc.hs

You seem to be busy waiting. I can see two ways of solving the problem:
1. use STM and non-deterministic choice
2. use a (Chan (Maybe String)), where (Just s) means the next log
   entry, and Nothing means "break the logger loop"

Best regards

More information about the Haskell-Cafe mailing list