Exports of STM constructors.

Sterling Clover s.clover at gmail.com
Wed Feb 27 15:14:52 EST 2008

I was recently bitten by the urge to hack around with STM, and discovered to
my dismay that there's no way to get at the primitive constructors for TVar
and STM, both of which are defined in GHC.Conc. Given that, when we so
desire, we can get at the primitives to break IO into pieces, manually unbox
integers and such, and that the primitives for working with MVars are
similarly exposed through appropriate imports, it would be really nice (or,
well, at least fun) to be able to do the same for STM.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20080227/7638a6bc/attachment.htm

More information about the Glasgow-haskell-users mailing list