ghc-prim-0.5.3: GHC primitives

Safe HaskellNone
LanguageHaskell2010

GHC.PrimopWrappers

Documentation

(+#) :: Int# -> Int# -> Int# #

(-#) :: Int# -> Int# -> Int# #

(*#) :: Int# -> Int# -> Int# #

quotRemInt# :: Int# -> Int# -> (#Int#, Int##) #

andI# :: Int# -> Int# -> Int# #

orI# :: Int# -> Int# -> Int# #

xorI# :: Int# -> Int# -> Int# #

addIntC# :: Int# -> Int# -> (#Int#, Int##) #

subIntC# :: Int# -> Int# -> (#Int#, Int##) #

(>#) :: Int# -> Int# -> Int# #

(>=#) :: Int# -> Int# -> Int# #

(==#) :: Int# -> Int# -> Int# #

(/=#) :: Int# -> Int# -> Int# #

(<#) :: Int# -> Int# -> Int# #

(<=#) :: Int# -> Int# -> Int# #

or# :: Word# -> Word# -> Word# #

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

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

writeArray# :: MutableArray# s a -> Int# -> a -> State# s -> State# s #

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

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

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

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

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

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

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

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

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

sameMutVar# :: MutVar# s a -> MutVar# s a -> Int# #

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

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

raise# :: b -> o #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

delay# :: Int# -> State# s -> State# s #

par# :: a -> Int# #

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

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

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

numSparks# :: State# s -> (#State# s, Int##) #

dataToTag# :: a -> Int# #

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

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

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

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

getCurrentCCS# :: a -> State# s -> (#State# s, Addr##) #

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