ghc-prim-0.1.0.0: GHC primitives
Source code
Contents
Index
GHC.PrimopWrappers
Documentation
gtChar#
::
Char#
->
Char#
->
Bool
Source
geChar#
::
Char#
->
Char#
->
Bool
Source
eqChar#
::
Char#
->
Char#
->
Bool
Source
neChar#
::
Char#
->
Char#
->
Bool
Source
ltChar#
::
Char#
->
Char#
->
Bool
Source
leChar#
::
Char#
->
Char#
->
Bool
Source
ord#
::
Char#
->
Int#
Source
(+#)
::
Int#
->
Int#
->
Int#
Source
(-#)
::
Int#
->
Int#
->
Int#
Source
(*#)
::
Int#
->
Int#
->
Int#
Source
mulIntMayOflo#
::
Int#
->
Int#
->
Int#
Source
quotInt#
::
Int#
->
Int#
->
Int#
Source
remInt#
::
Int#
->
Int#
->
Int#
Source
gcdInt#
::
Int#
->
Int#
->
Int#
Source
negateInt#
::
Int#
->
Int#
Source
addIntC#
::
Int#
->
Int#
-> (#
Int#
,
Int#
#)
Source
subIntC#
::
Int#
->
Int#
-> (#
Int#
,
Int#
#)
Source
(>#)
::
Int#
->
Int#
->
Bool
Source
(>=#)
::
Int#
->
Int#
->
Bool
Source
(==#)
::
Int#
->
Int#
->
Bool
Source
(/=#)
::
Int#
->
Int#
->
Bool
Source
(<#)
::
Int#
->
Int#
->
Bool
Source
(<=#)
::
Int#
->
Int#
->
Bool
Source
chr#
::
Int#
->
Char#
Source
int2Word#
::
Int#
->
Word#
Source
int2Float#
::
Int#
->
Float#
Source
int2Double#
::
Int#
->
Double#
Source
int2Integer#
::
Int#
-> (#
Int#
,
ByteArray#
#)
Source
uncheckedIShiftL#
::
Int#
->
Int#
->
Int#
Source
uncheckedIShiftRA#
::
Int#
->
Int#
->
Int#
Source
uncheckedIShiftRL#
::
Int#
->
Int#
->
Int#
Source
plusWord#
::
Word#
->
Word#
->
Word#
Source
minusWord#
::
Word#
->
Word#
->
Word#
Source
timesWord#
::
Word#
->
Word#
->
Word#
Source
quotWord#
::
Word#
->
Word#
->
Word#
Source
remWord#
::
Word#
->
Word#
->
Word#
Source
and#
::
Word#
->
Word#
->
Word#
Source
or#
::
Word#
->
Word#
->
Word#
Source
xor#
::
Word#
->
Word#
->
Word#
Source
not#
::
Word#
->
Word#
Source
uncheckedShiftL#
::
Word#
->
Int#
->
Word#
Source
uncheckedShiftRL#
::
Word#
->
Int#
->
Word#
Source
word2Int#
::
Word#
->
Int#
Source
word2Integer#
::
Word#
-> (#
Int#
,
ByteArray#
#)
Source
gtWord#
::
Word#
->
Word#
->
Bool
Source
geWord#
::
Word#
->
Word#
->
Bool
Source
eqWord#
::
Word#
->
Word#
->
Bool
Source
neWord#
::
Word#
->
Word#
->
Bool
Source
ltWord#
::
Word#
->
Word#
->
Bool
Source
leWord#
::
Word#
->
Word#
->
Bool
Source
narrow8Int#
::
Int#
->
Int#
Source
narrow16Int#
::
Int#
->
Int#
Source
narrow32Int#
::
Int#
->
Int#
Source
narrow8Word#
::
Word#
->
Word#
Source
narrow16Word#
::
Word#
->
Word#
Source
narrow32Word#
::
Word#
->
Word#
Source
int64ToInteger#
::
Int64#
-> (#
Int#
,
ByteArray#
#)
Source
word64ToInteger#
::
Word64#
-> (#
Int#
,
ByteArray#
#)
Source
plusInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
minusInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
timesInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
gcdInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
gcdIntegerInt#
::
Int#
->
ByteArray#
->
Int#
->
Int#
Source
divExactInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
quotInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
remInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
cmpInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
->
Int#
Source
cmpIntegerInt#
::
Int#
->
ByteArray#
->
Int#
->
Int#
Source
quotRemInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
,
Int#
,
ByteArray#
#)
Source
divModInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
,
Int#
,
ByteArray#
#)
Source
integer2Int#
::
Int#
->
ByteArray#
->
Int#
Source
integer2Word#
::
Int#
->
ByteArray#
->
Word#
Source
andInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
orInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
xorInteger#
::
Int#
->
ByteArray#
->
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
complementInteger#
::
Int#
->
ByteArray#
-> (#
Int#
,
ByteArray#
#)
Source
(>##)
::
Double#
->
Double#
->
Bool
Source
(>=##)
::
Double#
->
Double#
->
Bool
Source
(==##)
::
Double#
->
Double#
->
Bool
Source
(/=##)
::
Double#
->
Double#
->
Bool
Source
(<##)
::
Double#
->
Double#
->
Bool
Source
(<=##)
::
Double#
->
Double#
->
Bool
Source
(+##)
::
Double#
->
Double#
->
Double#
Source
(-##)
::
Double#
->
Double#
->
Double#
Source
(*##)
::
Double#
->
Double#
->
Double#
Source
(/##)
::
Double#
->
Double#
->
Double#
Source
negateDouble#
::
Double#
->
Double#
Source
double2Int#
::
Double#
->
Int#
Source
double2Float#
::
Double#
->
Float#
Source
expDouble#
::
Double#
->
Double#
Source
logDouble#
::
Double#
->
Double#
Source
sqrtDouble#
::
Double#
->
Double#
Source
sinDouble#
::
Double#
->
Double#
Source
cosDouble#
::
Double#
->
Double#
Source
tanDouble#
::
Double#
->
Double#
Source
asinDouble#
::
Double#
->
Double#
Source
acosDouble#
::
Double#
->
Double#
Source
atanDouble#
::
Double#
->
Double#
Source
sinhDouble#
::
Double#
->
Double#
Source
coshDouble#
::
Double#
->
Double#
Source
tanhDouble#
::
Double#
->
Double#
Source
(**##)
::
Double#
->
Double#
->
Double#
Source
decodeDouble#
::
Double#
-> (#
Int#
,
Int#
,
ByteArray#
#)
Source
decodeDouble_2Int#
::
Double#
-> (#
Int#
,
Word#
,
Word#
,
Int#
#)
Source
gtFloat#
::
Float#
->
Float#
->
Bool
Source
geFloat#
::
Float#
->
Float#
->
Bool
Source
eqFloat#
::
Float#
->
Float#
->
Bool
Source
neFloat#
::
Float#
->
Float#
->
Bool
Source
ltFloat#
::
Float#
->
Float#
->
Bool
Source
leFloat#
::
Float#
->
Float#
->
Bool
Source
plusFloat#
::
Float#
->
Float#
->
Float#
Source
minusFloat#
::
Float#
->
Float#
->
Float#
Source
timesFloat#
::
Float#
->
Float#
->
Float#
Source
divideFloat#
::
Float#
->
Float#
->
Float#
Source
negateFloat#
::
Float#
->
Float#
Source
float2Int#
::
Float#
->
Int#
Source
expFloat#
::
Float#
->
Float#
Source
logFloat#
::
Float#
->
Float#
Source
sqrtFloat#
::
Float#
->
Float#
Source
sinFloat#
::
Float#
->
Float#
Source
cosFloat#
::
Float#
->
Float#
Source
tanFloat#
::
Float#
->
Float#
Source
asinFloat#
::
Float#
->
Float#
Source
acosFloat#
::
Float#
->
Float#
Source
atanFloat#
::
Float#
->
Float#
Source
sinhFloat#
::
Float#
->
Float#
Source
coshFloat#
::
Float#
->
Float#
Source
tanhFloat#
::
Float#
->
Float#
Source
powerFloat#
::
Float#
->
Float#
->
Float#
Source
float2Double#
::
Float#
->
Double#
Source
decodeFloat#
::
Float#
-> (#
Int#
,
Int#
,
ByteArray#
#)
Source
decodeFloat_Int#
::
Float#
-> (#
Int#
,
Int#
#)
Source
newArray#
::
Int#
-> a ->
State#
s -> (#
State#
s,
MutableArray#
s a#)
Source
sameMutableArray#
::
MutableArray#
s a ->
MutableArray#
s a ->
Bool
Source
readArray#
::
MutableArray#
s a ->
Int#
->
State#
s -> (#
State#
s, a#)
Source
writeArray#
::
MutableArray#
s a ->
Int#
-> a ->
State#
s ->
State#
s
Source
indexArray#
::
Array#
a ->
Int#
-> (#a#)
Source
unsafeFreezeArray#
::
MutableArray#
s a ->
State#
s -> (#
State#
s,
Array#
a#)
Source
unsafeThawArray#
::
Array#
a ->
State#
s -> (#
State#
s,
MutableArray#
s a#)
Source
newByteArray#
::
Int#
->
State#
s -> (#
State#
s,
MutableByteArray#
s#)
Source
newPinnedByteArray#
::
Int#
->
State#
s -> (#
State#
s,
MutableByteArray#
s#)
Source
newAlignedPinnedByteArray#
::
Int#
->
Int#
->
State#
s -> (#
State#
s,
MutableByteArray#
s#)
Source
byteArrayContents#
::
ByteArray#
->
Addr#
Source
sameMutableByteArray#
::
MutableByteArray#
s ->
MutableByteArray#
s ->
Bool
Source
unsafeFreezeByteArray#
::
MutableByteArray#
s ->
State#
s -> (#
State#
s,
ByteArray#
#)
Source
sizeofByteArray#
::
ByteArray#
->
Int#
Source
sizeofMutableByteArray#
::
MutableByteArray#
s ->
Int#
Source
indexCharArray#
::
ByteArray#
->
Int#
->
Char#
Source
indexWideCharArray#
::
ByteArray#
->
Int#
->
Char#
Source
indexIntArray#
::
ByteArray#
->
Int#
->
Int#
Source
indexWordArray#
::
ByteArray#
->
Int#
->
Word#
Source
indexAddrArray#
::
ByteArray#
->
Int#
->
Addr#
Source
indexFloatArray#
::
ByteArray#
->
Int#
->
Float#
Source
indexDoubleArray#
::
ByteArray#
->
Int#
->
Double#
Source
indexStablePtrArray#
::
ByteArray#
->
Int#
->
StablePtr#
a
Source
indexInt8Array#
::
ByteArray#
->
Int#
->
Int#
Source
indexInt16Array#
::
ByteArray#
->
Int#
->
Int#
Source
indexInt32Array#
::
ByteArray#
->
Int#
->
Int#
Source
indexInt64Array#
::
ByteArray#
->
Int#
->
Int64#
Source
indexWord8Array#
::
ByteArray#
->
Int#
->
Word#
Source
indexWord16Array#
::
ByteArray#
->
Int#
->
Word#
Source
indexWord32Array#
::
ByteArray#
->
Int#
->
Word#
Source
indexWord64Array#
::
ByteArray#
->
Int#
->
Word64#
Source
readCharArray#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Char#
#)
Source
readWideCharArray#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Char#
#)
Source
readIntArray#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Int#
#)
Source
readWordArray#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Word#
#)
Source
readAddrArray#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Addr#
#)
Source
readFloatArray#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Float#
#)
Source
readDoubleArray#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Double#
#)
Source
readStablePtrArray#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
StablePtr#
a#)
Source
readInt8Array#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Int#
#)
Source
readInt16Array#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Int#
#)
Source
readInt32Array#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Int#
#)
Source
readInt64Array#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Int64#
#)
Source
readWord8Array#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Word#
#)
Source
readWord16Array#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Word#
#)
Source
readWord32Array#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Word#
#)
Source
readWord64Array#
::
MutableByteArray#
s ->
Int#
->
State#
s -> (#
State#
s,
Word64#
#)
Source
writeCharArray#
::
MutableByteArray#
s ->
Int#
->
Char#
->
State#
s ->
State#
s
Source
writeWideCharArray#
::
MutableByteArray#
s ->
Int#
->
Char#
->
State#
s ->
State#
s
Source
writeIntArray#
::
MutableByteArray#
s ->
Int#
->
Int#
->
State#
s ->
State#
s
Source
writeWordArray#
::
MutableByteArray#
s ->
Int#
->
Word#
->
State#
s ->
State#
s
Source
writeAddrArray#
::
MutableByteArray#
s ->
Int#
->
Addr#
->
State#
s ->
State#
s
Source
writeFloatArray#
::
MutableByteArray#
s ->
Int#
->
Float#
->
State#
s ->
State#
s
Source
writeDoubleArray#
::
MutableByteArray#
s ->
Int#
->
Double#
->
State#
s ->
State#
s
Source
writeStablePtrArray#
::
MutableByteArray#
s ->
Int#
->
StablePtr#
a ->
State#
s ->
State#
s
Source
writeInt8Array#
::
MutableByteArray#
s ->
Int#
->
Int#
->
State#
s ->
State#
s
Source
writeInt16Array#
::
MutableByteArray#
s ->
Int#
->
Int#
->
State#
s ->
State#
s
Source
writeInt32Array#
::
MutableByteArray#
s ->
Int#
->
Int#
->
State#
s ->
State#
s
Source
writeInt64Array#
::
MutableByteArray#
s ->
Int#
->
Int64#
->
State#
s ->
State#
s
Source
writeWord8Array#
::
MutableByteArray#
s ->
Int#
->
Word#
->
State#
s ->
State#
s
Source
writeWord16Array#
::
MutableByteArray#
s ->
Int#
->
Word#
->
State#
s ->
State#
s
Source
writeWord32Array#
::
MutableByteArray#
s ->
Int#
->
Word#
->
State#
s ->
State#
s
Source
writeWord64Array#
::
MutableByteArray#
s ->
Int#
->
Word64#
->
State#
s ->
State#
s
Source
plusAddr#
::
Addr#
->
Int#
->
Addr#
Source
minusAddr#
::
Addr#
->
Addr#
->
Int#
Source
remAddr#
::
Addr#
->
Int#
->
Int#
Source
addr2Int#
::
Addr#
->
Int#
Source
int2Addr#
::
Int#
->
Addr#
Source
gtAddr#
::
Addr#
->
Addr#
->
Bool
Source
geAddr#
::
Addr#
->
Addr#
->
Bool
Source
eqAddr#
::
Addr#
->
Addr#
->
Bool
Source
neAddr#
::
Addr#
->
Addr#
->
Bool
Source
ltAddr#
::
Addr#
->
Addr#
->
Bool
Source
leAddr#
::
Addr#
->
Addr#
->
Bool
Source
indexCharOffAddr#
::
Addr#
->
Int#
->
Char#
Source
indexWideCharOffAddr#
::
Addr#
->
Int#
->
Char#
Source
indexIntOffAddr#
::
Addr#
->
Int#
->
Int#
Source
indexWordOffAddr#
::
Addr#
->
Int#
->
Word#
Source
indexAddrOffAddr#
::
Addr#
->
Int#
->
Addr#
Source
indexFloatOffAddr#
::
Addr#
->
Int#
->
Float#
Source
indexDoubleOffAddr#
::
Addr#
->
Int#
->
Double#
Source
indexStablePtrOffAddr#
::
Addr#
->
Int#
->
StablePtr#
a
Source
indexInt8OffAddr#
::
Addr#
->
Int#
->
Int#
Source
indexInt16OffAddr#
::
Addr#
->
Int#
->
Int#
Source
indexInt32OffAddr#
::
Addr#
->
Int#
->
Int#
Source
indexInt64OffAddr#
::
Addr#
->
Int#
->
Int64#
Source
indexWord8OffAddr#
::
Addr#
->
Int#
->
Word#
Source
indexWord16OffAddr#
::
Addr#
->
Int#
->
Word#
Source
indexWord32OffAddr#
::
Addr#
->
Int#
->
Word#
Source
indexWord64OffAddr#
::
Addr#
->
Int#
->
Word64#
Source
readCharOffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Char#
#)
Source
readWideCharOffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Char#
#)
Source
readIntOffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Int#
#)
Source
readWordOffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Word#
#)
Source
readAddrOffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Addr#
#)
Source
readFloatOffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Float#
#)
Source
readDoubleOffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Double#
#)
Source
readStablePtrOffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
StablePtr#
a#)
Source
readInt8OffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Int#
#)
Source
readInt16OffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Int#
#)
Source
readInt32OffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Int#
#)
Source
readInt64OffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Int64#
#)
Source
readWord8OffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Word#
#)
Source
readWord16OffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Word#
#)
Source
readWord32OffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Word#
#)
Source
readWord64OffAddr#
::
Addr#
->
Int#
->
State#
s -> (#
State#
s,
Word64#
#)
Source
writeCharOffAddr#
::
Addr#
->
Int#
->
Char#
->
State#
s ->
State#
s
Source
writeWideCharOffAddr#
::
Addr#
->
Int#
->
Char#
->
State#
s ->
State#
s
Source
writeIntOffAddr#
::
Addr#
->
Int#
->
Int#
->
State#
s ->
State#
s
Source
writeWordOffAddr#
::
Addr#
->
Int#
->
Word#
->
State#
s ->
State#
s
Source
writeAddrOffAddr#
::
Addr#
->
Int#
->
Addr#
->
State#
s ->
State#
s
Source
writeFloatOffAddr#
::
Addr#
->
Int#
->
Float#
->
State#
s ->
State#
s
Source
writeDoubleOffAddr#
::
Addr#
->
Int#
->
Double#
->
State#
s ->
State#
s
Source
writeStablePtrOffAddr#
::
Addr#
->
Int#
->
StablePtr#
a ->
State#
s ->
State#
s
Source
writeInt8OffAddr#
::
Addr#
->
Int#
->
Int#
->
State#
s ->
State#
s
Source
writeInt16OffAddr#
::
Addr#
->
Int#
->
Int#
->
State#
s ->
State#
s
Source
writeInt32OffAddr#
::
Addr#
->
Int#
->
Int#
->
State#
s ->
State#
s
Source
writeInt64OffAddr#
::
Addr#
->
Int#
->
Int64#
->
State#
s ->
State#
s
Source
writeWord8OffAddr#
::
Addr#
->
Int#
->
Word#
->
State#
s ->
State#
s
Source
writeWord16OffAddr#
::
Addr#
->
Int#
->
Word#
->
State#
s ->
State#
s
Source
writeWord32OffAddr#
::
Addr#
->
Int#
->
Word#
->
State#
s ->
State#
s
Source
writeWord64OffAddr#
::
Addr#
->
Int#
->
Word64#
->
State#
s ->
State#
s
Source
newMutVar#
:: a ->
State#
s -> (#
State#
s,
MutVar#
s a#)
Source
readMutVar#
::
MutVar#
s a ->
State#
s -> (#
State#
s, a#)
Source
writeMutVar#
::
MutVar#
s a -> a ->
State#
s ->
State#
s
Source
sameMutVar#
::
MutVar#
s a ->
MutVar#
s a ->
Bool
Source
atomicModifyMutVar#
::
MutVar#
s a -> (a -> b) ->
State#
s -> (#
State#
s, c#)
Source
catch#
:: (
State#
RealWorld
-> (#
State#
RealWorld
, a#)) -> (b ->
State#
RealWorld
-> (#
State#
RealWorld
, a#)) ->
State#
RealWorld
-> (#
State#
RealWorld
, a#)
Source
raise#
:: a -> b
Source
raiseIO#
:: a ->
State#
RealWorld
-> (#
State#
RealWorld
, b#)
Source
blockAsyncExceptions#
:: (
State#
RealWorld
-> (#
State#
RealWorld
, a#)) ->
State#
RealWorld
-> (#
State#
RealWorld
, a#)
Source
unblockAsyncExceptions#
:: (
State#
RealWorld
-> (#
State#
RealWorld
, a#)) ->
State#
RealWorld
-> (#
State#
RealWorld
, a#)
Source
asyncExceptionsBlocked#
::
State#
RealWorld
-> (#
State#
RealWorld
,
Int#
#)
Source
atomically#
:: (
State#
RealWorld
-> (#
State#
RealWorld
, a#)) ->
State#
RealWorld
-> (#
State#
RealWorld
, a#)
Source
retry#
::
State#
RealWorld
-> (#
State#
RealWorld
, a#)
Source
catchRetry#
:: (
State#
RealWorld
-> (#
State#
RealWorld
, a#)) -> (
State#
RealWorld
-> (#
State#
RealWorld
, a#)) ->
State#
RealWorld
-> (#
State#
RealWorld
, a#)
Source
catchSTM#
:: (
State#
RealWorld
-> (#
State#
RealWorld
, a#)) -> (b ->
State#
RealWorld
-> (#
State#
RealWorld
, a#)) ->
State#
RealWorld
-> (#
State#
RealWorld
, a#)
Source
check#
:: (
State#
RealWorld
-> (#
State#
RealWorld
, a#)) ->
State#
RealWorld
-> (#
State#
RealWorld
,
()
#)
Source
newTVar#
:: a ->
State#
s -> (#
State#
s,
TVar#
s a#)
Source
readTVar#
::
TVar#
s a ->
State#
s -> (#
State#
s, a#)
Source
writeTVar#
::
TVar#
s a -> a ->
State#
s ->
State#
s
Source
sameTVar#
::
TVar#
s a ->
TVar#
s a ->
Bool
Source
newMVar#
::
State#
s -> (#
State#
s,
MVar#
s a#)
Source
takeMVar#
::
MVar#
s a ->
State#
s -> (#
State#
s, a#)
Source
tryTakeMVar#
::
MVar#
s a ->
State#
s -> (#
State#
s,
Int#
, a#)
Source
putMVar#
::
MVar#
s a -> a ->
State#
s ->
State#
s
Source
tryPutMVar#
::
MVar#
s a -> a ->
State#
s -> (#
State#
s,
Int#
#)
Source
sameMVar#
::
MVar#
s a ->
MVar#
s a ->
Bool
Source
isEmptyMVar#
::
MVar#
s a ->
State#
s -> (#
State#
s,
Int#
#)
Source
delay#
::
Int#
->
State#
s ->
State#
s
Source
waitRead#
::
Int#
->
State#
s ->
State#
s
Source
waitWrite#
::
Int#
->
State#
s ->
State#
s
Source
fork#
:: a ->
State#
RealWorld
-> (#
State#
RealWorld
,
ThreadId#
#)
Source
forkOn#
::
Int#
-> a ->
State#
RealWorld
-> (#
State#
RealWorld
,
ThreadId#
#)
Source
killThread#
::
ThreadId#
-> a ->
State#
RealWorld
->
State#
RealWorld
Source
yield#
::
State#
RealWorld
->
State#
RealWorld
Source
myThreadId#
::
State#
RealWorld
-> (#
State#
RealWorld
,
ThreadId#
#)
Source
labelThread#
::
ThreadId#
->
Addr#
->
State#
RealWorld
->
State#
RealWorld
Source
isCurrentThreadBound#
::
State#
RealWorld
-> (#
State#
RealWorld
,
Int#
#)
Source
noDuplicate#
::
State#
RealWorld
->
State#
RealWorld
Source
threadStatus#
::
ThreadId#
->
State#
RealWorld
-> (#
State#
RealWorld
,
Int#
#)
Source
mkWeak#
:: o -> b -> c ->
State#
RealWorld
-> (#
State#
RealWorld
,
Weak#
b#)
Source
mkWeakForeignEnv#
:: o -> b ->
Addr#
->
Addr#
->
Int#
->
Addr#
->
State#
RealWorld
-> (#
State#
RealWorld
,
Weak#
b#)
Source
deRefWeak#
::
Weak#
a ->
State#
RealWorld
-> (#
State#
RealWorld
,
Int#
, a#)
Source
finalizeWeak#
::
Weak#
a ->
State#
RealWorld
-> (#
State#
RealWorld
,
Int#
,
State#
RealWorld
-> (#
State#
RealWorld
,
()
#)#)
Source
touch#
:: o ->
State#
RealWorld
->
State#
RealWorld
Source
makeStablePtr#
:: a ->
State#
RealWorld
-> (#
State#
RealWorld
,
StablePtr#
a#)
Source
deRefStablePtr#
::
StablePtr#
a ->
State#
RealWorld
-> (#
State#
RealWorld
, a#)
Source
eqStablePtr#
::
StablePtr#
a ->
StablePtr#
a ->
Int#
Source
makeStableName#
:: a ->
State#
RealWorld
-> (#
State#
RealWorld
,
StableName#
a#)
Source
eqStableName#
::
StableName#
a ->
StableName#
a ->
Int#
Source
stableNameToInt#
::
StableName#
a ->
Int#
Source
reallyUnsafePtrEquality#
:: a -> a ->
Int#
Source
dataToTag#
:: a ->
Int#
Source
addrToHValue#
::
Addr#
-> (#a#)
Source
mkApUpd0#
::
BCO#
-> (#a#)
Source
newBCO#
::
ByteArray#
->
ByteArray#
->
Array#
a ->
Int#
->
ByteArray#
->
State#
s -> (#
State#
s,
BCO#
#)
Source
unpackClosure#
:: a -> (#
Addr#
,
Array#
b,
ByteArray#
#)
Source
getApStackVal#
:: a ->
Int#
-> (#
Int#
, b#)
Source
Produced by
Haddock
version 2.4.2