Lifted and unlifted classes and functions for the STM monad. To get started, just:
import Control.Concurrent.STM.Unlift
This is meant to be a drop-in replacement for Control.Concurrent.STM
.
This package provides functionality for the STM monad, which is highly
analagous to the functionalty for the IO monad found in
Control.Monad.IO.Class
, Control.Monad.IO.Unlift
,
and UnliftIO.STM
:
MonadSTM
is a copy ofMonadIO
modified for STMMonadUnliftSTM
is a copy ofMonadUnliftIO
modified for STM- Some functions found in
Control.Concurrent.STM.Unlift
are re-exported directly fromUnliftIO.STM