[Haskell-cafe] Re: how to implement daemon start and stop directives?

Ertugrul Soeylemez es at ertes.de
Thu Jan 22 07:48:08 EST 2009

Luke Palmer <lrpalmer at gmail.com> wrote:

> TVars are overkill here, actually, an IORef would be just fine, I
> think.

Using IORefs is generally a sign of bad style.  But MVars would
perfectly suffice here.  They would be essentially the same, but without


nightmare = unsafePerformIO (getWrongWife >>= sex)

More information about the Haskell-Cafe mailing list