License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- bool# :: Int# -> Bool
- data PinnedStatus
- toPinnedStatus# :: Pinned# -> PinnedStatus
- compatMkWeak# :: o -> b -> IO () -> State# RealWorld -> (# State# RealWorld, Weak# b #)
- compatIsByteArrayPinned# :: ByteArray# -> Pinned#
- compatIsMutableByteArrayPinned# :: MutableByteArray# s -> Pinned#
- unsafeCoerce# :: forall (q :: RuntimeRep) (r :: RuntimeRep) (a :: TYPE q) (b :: TYPE r). a -> b
- data Word = W# Word#
- data Word8# :: TYPE 'Word8Rep
- data Word16# :: TYPE 'Word16Rep
- data Word32# :: TYPE 'Word32Rep
- data Int8# :: TYPE 'Int8Rep
- data Int16# :: TYPE 'Int16Rep
- data Int32# :: TYPE 'Int32Rep
- word8ToWord16# :: Word8# -> Word16#
- word8ToWord32# :: Word8# -> Word32#
- word8ToWord# :: Word8# -> Word#
- word16ToWord8# :: Word16# -> Word8#
- word16ToWord32# :: Word16# -> Word32#
- word16ToWord# :: Word16# -> Word#
- word32ToWord# :: Word32# -> Word#
- word32ToWord8# :: Word32# -> Word8#
- word32ToWord16# :: Word32# -> Word16#
- wordToWord32# :: Word# -> Word32#
- wordToWord16# :: Word# -> Word16#
- wordToWord8# :: Word# -> Word8#
- int8ToInt16# :: Int8# -> Int16#
- int8ToInt32# :: Int8# -> Int32#
- int8ToInt# :: Int8# -> Int#
- int16ToInt32# :: Int16# -> Int32#
- int16ToInt# :: Int16# -> Int#
- int32ToInt# :: Int32# -> Int#
- intToInt8# :: Int# -> Int8#
- intToInt16# :: Int# -> Int16#
- intToInt32# :: Int# -> Int32#
- word8ToInt# :: Word8# -> Int#
- word8ToInt16# :: Word8# -> Int16#
- word8ToInt32# :: Word8# -> Int32#
- charToWord32# :: Char# -> Word32#
- word8ToChar# :: Word8# -> Char#
- word16ToChar# :: Word16# -> Char#
- word32ToChar# :: Word32# -> Char#
- wordToChar# :: Word# -> Char#
- plusWord8# :: Word8# -> Word8# -> Word8#
- uncheckedShiftRLWord16# :: Word16# -> Int# -> Word16#
- plusWord16# :: Word16# -> Word16# -> Word16#
- uncheckedShiftRLWord32# :: Word32# -> Int# -> Word32#
- plusWord32# :: Word32# -> Word32# -> Word32#
- plusInt8# :: Int8# -> Int8# -> Int8#
- plusInt16# :: Int16# -> Int16# -> Int16#
- plusInt32# :: Int32# -> Int32# -> Int32#
Documentation
data PinnedStatus Source #
Flag record whether a specific byte array is pinned or not
Instances
Eq PinnedStatus Source # | |
Defined in Basement.Compat.Primitive (==) :: PinnedStatus -> PinnedStatus -> Bool # (/=) :: PinnedStatus -> PinnedStatus -> Bool # |
unsafeCoerce# :: forall (q :: RuntimeRep) (r :: RuntimeRep) (a :: TYPE q) (b :: TYPE r). a -> b #
Highly, terribly dangerous coercion from one representation type to another. Misuse of this function can invite the garbage collector to trounce upon your data and then laugh in your face. You don't want this function. Really.
Instances
word8ToWord16# :: Word8# -> Word16# Source #
word8ToWord32# :: Word8# -> Word32# Source #
word8ToWord# :: Word8# -> Word# #
word16ToWord8# :: Word16# -> Word8# Source #
word16ToWord32# :: Word16# -> Word32# Source #
word16ToWord# :: Word16# -> Word# #
word32ToWord# :: Word32# -> Word# #
word32ToWord8# :: Word32# -> Word8# Source #
word32ToWord16# :: Word32# -> Word16# Source #
wordToWord32# :: Word# -> Word32# #
wordToWord16# :: Word# -> Word16# #
wordToWord8# :: Word# -> Word8# #
int8ToInt16# :: Int8# -> Int16# Source #
int8ToInt32# :: Int8# -> Int32# Source #
int8ToInt# :: Int8# -> Int# #
int16ToInt32# :: Int16# -> Int32# Source #
int16ToInt# :: Int16# -> Int# #
int32ToInt# :: Int32# -> Int# #
intToInt8# :: Int# -> Int8# #
intToInt16# :: Int# -> Int16# #
intToInt32# :: Int# -> Int32# #
word8ToInt# :: Word8# -> Int# Source #
word8ToInt16# :: Word8# -> Int16# Source #
word8ToInt32# :: Word8# -> Int32# Source #
charToWord32# :: Char# -> Word32# Source #
word8ToChar# :: Word8# -> Char# Source #
word16ToChar# :: Word16# -> Char# Source #
word32ToChar# :: Word32# -> Char# Source #
wordToChar# :: Word# -> Char# Source #
plusWord8# :: Word8# -> Word8# -> Word8# #
uncheckedShiftRLWord16# :: Word16# -> Int# -> Word16# #
plusWord16# :: Word16# -> Word16# -> Word16# #
uncheckedShiftRLWord32# :: Word32# -> Int# -> Word32# #
plusWord32# :: Word32# -> Word32# -> Word32# #
plusInt16# :: Int16# -> Int16# -> Int16# #
plusInt32# :: Int32# -> Int32# -> Int32# #