On 7/11/06, Johannes Goetz <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
"You can't prove anything."
   -- Gödel's Incompetence Theorem
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to