data STM a -- Transaktion mit Resultat a data IO a -- (beobachtbare) Aktion -- mit Resultat a atomically :: STM a -> IO a retry :: STM a orElse :: STM a -> STM a -> STM a data TVar a -- Transaktions-Variable -- mit Inhalt a newTVar :: a -> STM ( TVar a ) readTVar :: writeTVar ::
(= Tab. 24-1 in Beautiful Concurrency)
vgl. http://hackage.haskell.org/packages/archive/stm/2.2.0.1/doc/html/Control-Monad-STM.html