unlift-stm: (un)lifted classes and functions for the STM monad

[ bsd2, concurrency, library ] [ Propose Tags ] [ Report a vulnerability ]

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:


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.13.0.0 && <4.15), stm (>=2.5.0.0 && <2.6), transformers (>=0.5.6.2 && <0.6), unliftio (>=0.2.12.1 && <0.3), unliftio-core (>=0.1.2.0 && <0.3) [details]
License BSD-2-Clause
Author hololeap
Maintainer hololeap@users.noreply.github.com
Category Concurrency
Home page https://github.com/hololeap/unlift-stm
Bug tracker https://github.com/hololeap/unlift-stm/issues
Source repo head: git clone https://github.com/hololeap/unlift-stm
this: git clone https://github.com/hololeap/unlift-stm(tag v0.1.0.0)
Uploaded by hololeap at 2021-03-15T20:52:07Z
Distributions
Downloads 261 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-03-15 [all 1 reports]

Readme for unlift-stm-0.1.0.0

[back to package description]

unlift-stm

(un)lifted classes and functions for the STM monad

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 of MonadIO modified for STM
  • MonadUnliftSTM is a copy of MonadUnliftIO modified for STM
  • Some functions found in Control.Concurrent.STM.Unlift are re-exported directly from UnliftIO.STM