packages feed

papa-0.7.0: src/Papa/Stm/Control/Concurrent/STM.hs

{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -Wall #-}

-- | Software transactional memory.
--
-- @check@ is not exported: its name clashes with Hedgehog's, and it is
-- 'Control.Monad.guard' at 'STM' (which retries).
--
-- @since 0.7.0
module Papa.Stm.Control.Concurrent.STM (
  module P,
) where

import Control.Concurrent.STM as P (
  STM,
  TVar,
  atomically,
  modifyTVar',
  newTVar,
  newTVarIO,
  orElse,
  readTVar,
  readTVarIO,
  retry,
  writeTVar,
 )