GHC.Prim.Compat

word-compat-0.0.6: Compatibility shim for the Int/Word internal change in GHC 9.2

Safe Haskell | None
Language | Haskell2010

GHC.Prim.Compat

Contents

- Indexing Functions

Synopsis

- indexWord8Array# :: ByteArray# -> Int# -> Word#
- indexWord16Array# :: ByteArray# -> Int# -> Word#
- indexWord32Array# :: ByteArray# -> Int# -> Word#
- indexWord64Array# :: ByteArray# -> Int# -> Word#
- readWord8Array# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word# #)
- readWord16Array# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word# #)
- readWord32Array# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word# #)
- readWord64Array# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word# #)
- writeWord8Array# :: MutableByteArray# d -> Int# -> Word# -> State# d -> State# d
- writeWord16Array# :: MutableByteArray# d -> Int# -> Word# -> State# d -> State# d
- writeWord32Array# :: MutableByteArray# d -> Int# -> Word# -> State# d -> State# d
- writeWord64Array# :: MutableByteArray# d -> Int# -> Word# -> State# d -> State# d
- indexWord8OffAddr# :: Addr# -> Int# -> Word#
- indexWord16OffAddr# :: Addr# -> Int# -> Word#
- indexWord32OffAddr# :: Addr# -> Int# -> Word#
- indexWord64OffAddr# :: Addr# -> Int# -> Word#
- readWord8OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word# #)
- readWord16OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word# #)
- readWord32OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word# #)
- readWord64OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word# #)
- writeWord8OffAddr# :: Addr# -> Int# -> Word# -> State# d -> State# d
- writeWord16OffAddr# :: Addr# -> Int# -> Word# -> State# d -> State# d
- writeWord32OffAddr# :: Addr# -> Int# -> Word# -> State# d -> State# d
- writeWord64OffAddr# :: Addr# -> Int# -> Word# -> State# d -> State# d

# Indexing Functions

indexWord8Array# :: ByteArray# -> Int# -> Word# #

indexWord16Array# :: ByteArray# -> Int# -> Word# #

indexWord32Array# :: ByteArray# -> Int# -> Word# #

indexWord64Array# :: ByteArray# -> Int# -> Word# #

readWord8Array# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word# #) #

readWord16Array# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word# #) #

readWord32Array# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word# #) #

readWord64Array# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Word# #) #

writeWord8Array# :: MutableByteArray# d -> Int# -> Word# -> State# d -> State# d #

writeWord16Array# :: MutableByteArray# d -> Int# -> Word# -> State# d -> State# d #

writeWord32Array# :: MutableByteArray# d -> Int# -> Word# -> State# d -> State# d #

writeWord64Array# :: MutableByteArray# d -> Int# -> Word# -> State# d -> State# d #

indexWord8OffAddr# :: Addr# -> Int# -> Word# #

indexWord16OffAddr# :: Addr# -> Int# -> Word# #

indexWord32OffAddr# :: Addr# -> Int# -> Word# #

indexWord64OffAddr# :: Addr# -> Int# -> Word# #

readWord8OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word# #) #

readWord16OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word# #) #

readWord32OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word# #) #

readWord64OffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Word# #) #

writeWord8OffAddr# :: Addr# -> Int# -> Word# -> State# d -> State# d #

writeWord16OffAddr# :: Addr# -> Int# -> Word# -> State# d -> State# d #

writeWord32OffAddr# :: Addr# -> Int# -> Word# -> State# d -> State# d #

writeWord64OffAddr# :: Addr# -> Int# -> Word# -> State# d -> State# d #