12 Jul
2006
12 Jul
'06
5:16 a.m.
On 7/11/06, Johannes Goetz <johago@web.de> wrote:
i'm using ghc6 (apt-get install ghc6) on debian31. as far is i understand, the following program shouldn't crash. can somebody tell me why it does? thanks a lot. johannes.
Because atomically doesn't like unsafePerformIO. For TVars there's newTVarIO, but I'm not sure about TMVars. -- Taral <taralx@gmail.com> "You can't prove anything." -- Gödel's Incompetence Theorem