[Haskell-cafe] stm onCommit

Ryan Yates fryguybob at gmail.com
Mon Jul 6 14:51:25 UTC 2015

Yes, but in my opinion passing variables is clearer and more robust
then global variables.

On Mon, Jul 6, 2015 at 10:48 AM, Marcin Mrotek
<marcin.jan.mrotek at gmail.com> wrote:
> Hello,
> Isn't using unsafePerformIO to create toplevel
> variables/channels/whatever considered okay by the docs?
> https://hackage.haskell.org/package/stm-2.4.4/docs/Control-Concurrent-STM-TChan.html
> Best regards,
> Marcin Mrotek

More information about the Haskell-Cafe mailing list