On Thu, Jan 12, 2012 at 16:50, Andrew Coppin <andrewcop...@btinternet.com>wrote:

> My guess is that your "debug printing" is causing something to be
> evaluated when it otherwise wouldn't be, causing a transaction to begin
> within a transaction.
>

My guess is something is being lazily evaluated as usual, but if that is
forced within a transaction, well, last I checked the GHC I/O system used
STM internally so unsafePerformIO debug prints could well cause nested
transactions.

-- 
brandon s allbery                                      allber...@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to