[Haskell-cafe] Debugging STM
newhoggy at gmail.com
Thu Jan 8 05:26:55 EST 2009
Does anyone have any advice on how to inspect complex TVar data structures
that may include cycles? They're opaque as far as Show goes. And sometimes
I'd like a more comprehensive view of my data structures at the ghci prompt
rather than the dribs and drabs I get by typing "x <- atomically $ readTVar
var" and the like all the time. Also, do TVars have a printable identity
for debugging purposes?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe