[project @ 2005-12-05 11:42:47 by simonmar]
authorsimonmar <unknown>
Mon, 5 Dec 2005 11:42:47 +0000 (11:42 +0000)
committersimonmar <unknown>
Mon, 5 Dec 2005 11:42:47 +0000 (11:42 +0000)
Add IO versions of the STM primitives that allocate new transactional variables:

  newTVarIO :: a -> IO (TVar a)
  newTChanIO :: IO (TChan a)
  newTMVarIO :: a -> IO (TMVar a)

These can be used inside unsafePerformIO, unlike the STM versions.


No differences found