[Haskell-cafe] stm onCommit

Silvio Frischknecht silvio.frischi at gmail.com
Mon Jul 6 14:40:19 UTC 2015

> Right, it looks like the atomically is inside unsafePerformIO, but it is
> in the fork.  This is part of why it is better to avoid the
> unsafePerformIO here.  Anything it buys is at great cost to clarity.

How would you start the thread without using unsafePerformIO?

More information about the Haskell-Cafe mailing list