|Portability||non-portable (requires STM)|
TVar: Transactional variables
data TVar a
Shared memory locations that support atomic memory transactions.
Return the current value stored in a TVar. This is equivalent to
readTVarIO = atomically . readTVar
but works much faster, because it doesn't perform a complete
transaction, it just reads the current value of the