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:
MonadSTMis a copy ofMonadIOmodified for STMMonadUnliftSTMis a copy ofMonadUnliftIOmodified for STM- Some functions found in
Control.Concurrent.STM.Unliftare re-exported directly fromUnliftIO.STM