HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Moduleconcurrency-1.11.0.3Haskell2010

Control.Concurrent.Classy.STM.TArray

Deviations: TArray as defined here does not have an Eq instance, this is because the MonadSTM TVar type does not have an Eq constraint.

Synopsis
newtypenewtype TArray (stm :: Type -> Type) i e

TArray is a transactional array, supporting the usual MArray interface for mutable arrays.

It is currently implemented as Array ix (TVar stm e), but it may be replaced by a more efficient implementation in the future (the interface will remain the same, however).

Instances1MArray
  • MonadSTM stm => MArray (TArray stm) e stmDefined in concurrency-1.11.0.3 · Control.Concurrent.Classy.STM.TArray