ghc-prim-0.5.2.0: GHC primitives

Safe HaskellNone
LanguageHaskell2010

GHC.PrimopWrappers

Documentation

newArray# :: Int# -> a -> State# s -> (#State# s, MutableArray# s a#) Source #

newArray# :: Int# -> a -> State# s -> (#State# s, MutableArray# s a#) Source #

readArray# :: MutableArray# s a -> Int# -> State# s -> (#State# s, a#) Source #

readArray# :: MutableArray# s a -> Int# -> State# s -> (#State# s, a#) Source #

indexArray# :: Array# a -> Int# -> (#a#) Source #

indexArray# :: Array# a -> Int# -> (#a#) Source #

copyArray# :: Array# a -> Int# -> MutableArray# s a -> Int# -> Int# -> State# s -> State# s Source #

copyArray# :: Array# a -> Int# -> MutableArray# s a -> Int# -> Int# -> State# s -> State# s Source #

thawArray# :: Array# a -> Int# -> Int# -> State# s -> (#State# s, MutableArray# s a#) Source #

thawArray# :: Array# a -> Int# -> Int# -> State# s -> (#State# s, MutableArray# s a#) Source #

casArray# :: MutableArray# s a -> Int# -> a -> a -> State# s -> (#State# s, Int#, a#) Source #

casArray# :: MutableArray# s a -> Int# -> a -> a -> State# s -> (#State# s, Int#, a#) Source #

casSmallArray# :: SmallMutableArray# s a -> Int# -> a -> a -> State# s -> (#State# s, Int#, a#) Source #

casSmallArray# :: SmallMutableArray# s a -> Int# -> a -> a -> State# s -> (#State# s, Int#, a#) Source #

newMutVar# :: a -> State# s -> (#State# s, MutVar# s a#) Source #

newMutVar# :: a -> State# s -> (#State# s, MutVar# s a#) Source #

readMutVar# :: MutVar# s a -> State# s -> (#State# s, a#) Source #

readMutVar# :: MutVar# s a -> State# s -> (#State# s, a#) Source #

writeMutVar# :: MutVar# s a -> a -> State# s -> State# s Source #

writeMutVar# :: MutVar# s a -> a -> State# s -> State# s Source #

atomicModifyMutVar# :: MutVar# s a -> (a -> b) -> State# s -> (#State# s, c#) Source #

atomicModifyMutVar# :: MutVar# s a -> (a -> b) -> State# s -> (#State# s, c#) Source #

casMutVar# :: MutVar# s a -> a -> a -> State# s -> (#State# s, Int#, a#) Source #

casMutVar# :: MutVar# s a -> a -> a -> State# s -> (#State# s, Int#, a#) Source #

raise# :: b -> o Source #

raise# :: b -> o Source #

newTVar# :: a -> State# s -> (#State# s, TVar# s a#) Source #

newTVar# :: a -> State# s -> (#State# s, TVar# s a#) Source #

readTVar# :: TVar# s a -> State# s -> (#State# s, a#) Source #

readTVar# :: TVar# s a -> State# s -> (#State# s, a#) Source #

readTVarIO# :: TVar# s a -> State# s -> (#State# s, a#) Source #

readTVarIO# :: TVar# s a -> State# s -> (#State# s, a#) Source #

writeTVar# :: TVar# s a -> a -> State# s -> State# s Source #

writeTVar# :: TVar# s a -> a -> State# s -> State# s Source #

sameTVar# :: TVar# s a -> TVar# s a -> Int# Source #

sameTVar# :: TVar# s a -> TVar# s a -> Int# Source #

newMVar# :: State# s -> (#State# s, MVar# s a#) Source #

newMVar# :: State# s -> (#State# s, MVar# s a#) Source #

takeMVar# :: MVar# s a -> State# s -> (#State# s, a#) Source #

takeMVar# :: MVar# s a -> State# s -> (#State# s, a#) Source #

tryTakeMVar# :: MVar# s a -> State# s -> (#State# s, Int#, a#) Source #

tryTakeMVar# :: MVar# s a -> State# s -> (#State# s, Int#, a#) Source #

putMVar# :: MVar# s a -> a -> State# s -> State# s Source #

putMVar# :: MVar# s a -> a -> State# s -> State# s Source #

tryPutMVar# :: MVar# s a -> a -> State# s -> (#State# s, Int##) Source #

tryPutMVar# :: MVar# s a -> a -> State# s -> (#State# s, Int##) Source #

readMVar# :: MVar# s a -> State# s -> (#State# s, a#) Source #

readMVar# :: MVar# s a -> State# s -> (#State# s, a#) Source #

tryReadMVar# :: MVar# s a -> State# s -> (#State# s, Int#, a#) Source #

tryReadMVar# :: MVar# s a -> State# s -> (#State# s, Int#, a#) Source #

sameMVar# :: MVar# s a -> MVar# s a -> Int# Source #

sameMVar# :: MVar# s a -> MVar# s a -> Int# Source #

isEmptyMVar# :: MVar# s a -> State# s -> (#State# s, Int##) Source #

isEmptyMVar# :: MVar# s a -> State# s -> (#State# s, Int##) Source #

par# :: a -> Int# Source #

par# :: a -> Int# Source #

spark# :: a -> State# s -> (#State# s, a#) Source #

spark# :: a -> State# s -> (#State# s, a#) Source #

seq# :: a -> State# s -> (#State# s, a#) Source #

seq# :: a -> State# s -> (#State# s, a#) Source #

getSpark# :: State# s -> (#State# s, Int#, a#) Source #

getSpark# :: State# s -> (#State# s, Int#, a#) Source #

addrToAny# :: Addr# -> (#a#) Source #

addrToAny# :: Addr# -> (#a#) Source #

mkApUpd0# :: BCO# -> (#a#) Source #

mkApUpd0# :: BCO# -> (#a#) Source #

getApStackVal# :: a -> Int# -> (#Int#, b#) Source #

getApStackVal# :: a -> Int# -> (#Int#, b#) Source #

getCCSOf# :: a -> State# s -> (#State# s, Addr##) Source #

getCCSOf# :: a -> State# s -> (#State# s, Addr##) Source #

clearCCS# :: (State# s -> (#State# s, a#)) -> State# s -> (#State# s, a#) Source #

clearCCS# :: (State# s -> (#State# s, a#)) -> State# s -> (#State# s, a#) Source #