Luke Palmer <lrpal...@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
'atomically'.


Greets,
Ertugrul.


-- 
nightmare = unsafePerformIO (getWrongWife >>= sex)
http://blog.ertes.de/


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to