Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module corresponds to TArray
in "stm" package
Documentation
data StrictTArray (m :: Type -> Type) i e Source #
Instances
(MArray (TArray m) e stm, Monad stm) => MArray (StrictTArray m) e stm Source # | |
Defined in Control.Concurrent.Class.MonadSTM.Strict.TArray getBounds :: Ix i => StrictTArray m i e -> stm (i, i) # getNumElements :: Ix i => StrictTArray m i e -> stm Int # newArray :: Ix i => (i, i) -> e -> stm (StrictTArray m i e) # newArray_ :: Ix i => (i, i) -> stm (StrictTArray m i e) # unsafeNewArray_ :: Ix i => (i, i) -> stm (StrictTArray m i e) # unsafeRead :: Ix i => StrictTArray m i e -> Int -> stm e # unsafeWrite :: Ix i => StrictTArray m i e -> Int -> e -> stm () # |
toLazyTArray :: StrictTArray m i e -> LazyTArray m i e Source #
fromLazyTArray :: forall (m :: Type -> Type) i e. LazyTArray m i e -> StrictTArray m i e Source #