run-st-0.1.1.0: runST without boxing penalty

Safe HaskellNone
LanguageHaskell2010

Control.Monad.ST.Run

Contents

Synopsis

Arrays

runArrayST :: (forall s. ST s (Array a)) -> Array a Source #

runSmallArrayST :: (forall s. ST s (SmallArray a)) -> SmallArray a Source #

runPrimArrayST :: (forall s. ST s (PrimArray a)) -> PrimArray a Source #

Integral Types

runIntST :: (forall s. ST s Int) -> Int Source #

runInt8ST :: (forall s. ST s Int8) -> Int8 Source #

runInt16ST :: (forall s. ST s Int16) -> Int16 Source #

runInt32ST :: (forall s. ST s Int32) -> Int32 Source #

runWordST :: (forall s. ST s Word) -> Word Source #

runWord8ST :: (forall s. ST s Word8) -> Word8 Source #

runWord16ST :: (forall s. ST s Word16) -> Word16 Source #

runWord32ST :: (forall s. ST s Word32) -> Word32 Source #

Char

runCharST :: (forall s. ST s Char) -> Char Source #

Floating Point Types

runFloatST :: (forall s. ST s Float) -> Float Source #

runDoubleST :: (forall s. ST s Double) -> Double Source #

Tuples

runIntArrayST :: (forall s. ST s (Int, Array a)) -> (Int, Array a) Source #

runWordArrayST :: (forall s. ST s (Word, Array a)) -> (Word, Array a) Source #