| License | BSD-style |
|---|---|
| Maintainer | Foundation |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Basement.Compat.C.Types
Description
Literal support for Integral and Fractional {-# LANGUAGE TypeSynonymInstances #-} {-# LANGUAGE FlexibleInstances #-}
Synopsis
- newtype CChar = CChar Int8
- newtype CSChar = CSChar Int8
- newtype CUChar = CUChar Word8
- newtype CShort = CShort Int16
- newtype CUShort = CUShort Word16
- newtype CInt = CInt Int32
- newtype CUInt = CUInt Word32
- newtype CLong = CLong Int64
- newtype CULong = CULong Word64
- newtype CPtrdiff = CPtrdiff Int64
- newtype CSize = CSize Word64
- newtype CWchar = CWchar Int32
- newtype CSigAtomic = CSigAtomic Int32
- newtype CLLong = CLLong Int64
- newtype CULLong = CULLong Word64
- newtype CBool = CBool Word8
- newtype CIntPtr = CIntPtr Int64
- newtype CUIntPtr = CUIntPtr Word64
- newtype CIntMax = CIntMax Int64
- newtype CUIntMax = CUIntMax Word64
- newtype CClock = CClock Int64
- newtype CTime = CTime Int64
- newtype CUSeconds = CUSeconds Word32
- newtype CSUSeconds = CSUSeconds Int64
- newtype CFloat = CFloat Float
- data CDouble
- newtype COff = COff Int64
- newtype CMode = CMode Word32
Documentation
Haskell type representing the C char type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
Haskell type representing the C signed char type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| HasNegation CSChar Source # | |||||
| Integral CSChar Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CSChar Source # | |||||
| NormalForm CSChar Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CSChar -> () Source # | |||||
| Additive CSChar Source # | |||||
| IDivisible CSChar Source # | |||||
| Multiplicative CSChar Source # | |||||
| IsIntegral CSChar Source # | |||||
| Subtractive CSChar Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CSChar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CSChar -> CSChar -> CSChar Source # (.|.) :: CSChar -> CSChar -> CSChar Source # xor :: CSChar -> CSChar -> CSChar Source # complement :: CSChar -> CSChar Source # shift :: CSChar -> Int -> CSChar Source # rotate :: CSChar -> Int -> CSChar Source # setBit :: CSChar -> Int -> CSChar Source # clearBit :: CSChar -> Int -> CSChar Source # complementBit :: CSChar -> Int -> CSChar Source # testBit :: CSChar -> Int -> Bool Source # bitSizeMaybe :: CSChar -> Maybe Int Source # bitSize :: CSChar -> Int Source # isSigned :: CSChar -> Bool Source # shiftL :: CSChar -> Int -> CSChar Source # unsafeShiftL :: CSChar -> Int -> CSChar Source # shiftR :: CSChar -> Int -> CSChar Source # unsafeShiftR :: CSChar -> Int -> CSChar Source # rotateL :: CSChar -> Int -> CSChar Source # | |||||
| FiniteBits CSChar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CSChar -> Int Source # countLeadingZeros :: CSChar -> Int Source # countTrailingZeros :: CSChar -> Int Source # | |||||
| Bounded CSChar | |||||
| Enum CSChar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CSChar -> CSChar Source # pred :: CSChar -> CSChar Source # toEnum :: Int -> CSChar Source # fromEnum :: CSChar -> Int Source # enumFrom :: CSChar -> [CSChar] Source # enumFromThen :: CSChar -> CSChar -> [CSChar] Source # enumFromTo :: CSChar -> CSChar -> [CSChar] Source # enumFromThenTo :: CSChar -> CSChar -> CSChar -> [CSChar] Source # | |||||
| Storable CSChar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CSChar -> Int Source # alignment :: CSChar -> Int Source # peekElemOff :: Ptr CSChar -> Int -> IO CSChar Source # pokeElemOff :: Ptr CSChar -> Int -> CSChar -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CSChar Source # pokeByteOff :: Ptr b -> Int -> CSChar -> IO () Source # | |||||
| Ix CSChar | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CSChar | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CSChar | |||||
| Integral CSChar | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CSChar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CSChar -> Rational Source # | |||||
| Show CSChar | |||||
| Eq CSChar | |||||
| Ord CSChar | |||||
| type Difference CSChar Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C unsigned char type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| Integral CUChar Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CUChar Source # | |||||
| NormalForm CUChar Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CUChar -> () Source # | |||||
| Additive CUChar Source # | |||||
| IDivisible CUChar Source # | |||||
| Multiplicative CUChar Source # | |||||
| IsIntegral CUChar Source # | |||||
| IsNatural CUChar Source # | |||||
| Subtractive CUChar Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| PrimMemoryComparable CUChar Source # | |||||
Defined in Basement.PrimType | |||||
| PrimType CUChar Source # | |||||
Defined in Basement.PrimType Associated Types
Methods primSizeInBytes :: Proxy CUChar -> CountOf Word8 Source # primShiftToBytes :: Proxy CUChar -> Int Source # primBaUIndex :: ByteArray# -> Offset CUChar -> CUChar Source # primMbaURead :: PrimMonad prim => MutableByteArray# (PrimState prim) -> Offset CUChar -> prim CUChar Source # primMbaUWrite :: PrimMonad prim => MutableByteArray# (PrimState prim) -> Offset CUChar -> CUChar -> prim () Source # primAddrIndex :: Addr# -> Offset CUChar -> CUChar Source # primAddrRead :: PrimMonad prim => Addr# -> Offset CUChar -> prim CUChar Source # primAddrWrite :: PrimMonad prim => Addr# -> Offset CUChar -> CUChar -> prim () Source # | |||||
| Bits CUChar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CUChar -> CUChar -> CUChar Source # (.|.) :: CUChar -> CUChar -> CUChar Source # xor :: CUChar -> CUChar -> CUChar Source # complement :: CUChar -> CUChar Source # shift :: CUChar -> Int -> CUChar Source # rotate :: CUChar -> Int -> CUChar Source # setBit :: CUChar -> Int -> CUChar Source # clearBit :: CUChar -> Int -> CUChar Source # complementBit :: CUChar -> Int -> CUChar Source # testBit :: CUChar -> Int -> Bool Source # bitSizeMaybe :: CUChar -> Maybe Int Source # bitSize :: CUChar -> Int Source # isSigned :: CUChar -> Bool Source # shiftL :: CUChar -> Int -> CUChar Source # unsafeShiftL :: CUChar -> Int -> CUChar Source # shiftR :: CUChar -> Int -> CUChar Source # unsafeShiftR :: CUChar -> Int -> CUChar Source # rotateL :: CUChar -> Int -> CUChar Source # | |||||
| FiniteBits CUChar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CUChar -> Int Source # countLeadingZeros :: CUChar -> Int Source # countTrailingZeros :: CUChar -> Int Source # | |||||
| Bounded CUChar | |||||
| Enum CUChar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CUChar -> CUChar Source # pred :: CUChar -> CUChar Source # toEnum :: Int -> CUChar Source # fromEnum :: CUChar -> Int Source # enumFrom :: CUChar -> [CUChar] Source # enumFromThen :: CUChar -> CUChar -> [CUChar] Source # enumFromTo :: CUChar -> CUChar -> [CUChar] Source # enumFromThenTo :: CUChar -> CUChar -> CUChar -> [CUChar] Source # | |||||
| Storable CUChar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CUChar -> Int Source # alignment :: CUChar -> Int Source # peekElemOff :: Ptr CUChar -> Int -> IO CUChar Source # pokeElemOff :: Ptr CUChar -> Int -> CUChar -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CUChar Source # pokeByteOff :: Ptr b -> Int -> CUChar -> IO () Source # | |||||
| Ix CUChar | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CUChar | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CUChar | |||||
| Integral CUChar | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CUChar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CUChar -> Rational Source # | |||||
| Show CUChar | |||||
| Eq CUChar | |||||
| Ord CUChar | |||||
| type Difference CUChar Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
| type PrimSize CUChar Source # | |||||
Defined in Basement.PrimType | |||||
Haskell type representing the C short type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| HasNegation CShort Source # | |||||
| Integral CShort Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CShort Source # | |||||
| NormalForm CShort Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CShort -> () Source # | |||||
| Additive CShort Source # | |||||
| IDivisible CShort Source # | |||||
| Multiplicative CShort Source # | |||||
| IsIntegral CShort Source # | |||||
| Subtractive CShort Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CShort -> CShort -> CShort Source # (.|.) :: CShort -> CShort -> CShort Source # xor :: CShort -> CShort -> CShort Source # complement :: CShort -> CShort Source # shift :: CShort -> Int -> CShort Source # rotate :: CShort -> Int -> CShort Source # setBit :: CShort -> Int -> CShort Source # clearBit :: CShort -> Int -> CShort Source # complementBit :: CShort -> Int -> CShort Source # testBit :: CShort -> Int -> Bool Source # bitSizeMaybe :: CShort -> Maybe Int Source # bitSize :: CShort -> Int Source # isSigned :: CShort -> Bool Source # shiftL :: CShort -> Int -> CShort Source # unsafeShiftL :: CShort -> Int -> CShort Source # shiftR :: CShort -> Int -> CShort Source # unsafeShiftR :: CShort -> Int -> CShort Source # rotateL :: CShort -> Int -> CShort Source # | |||||
| FiniteBits CShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CShort -> Int Source # countLeadingZeros :: CShort -> Int Source # countTrailingZeros :: CShort -> Int Source # | |||||
| Bounded CShort | |||||
| Enum CShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CShort -> CShort Source # pred :: CShort -> CShort Source # toEnum :: Int -> CShort Source # fromEnum :: CShort -> Int Source # enumFrom :: CShort -> [CShort] Source # enumFromThen :: CShort -> CShort -> [CShort] Source # enumFromTo :: CShort -> CShort -> [CShort] Source # enumFromThenTo :: CShort -> CShort -> CShort -> [CShort] Source # | |||||
| Storable CShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CShort -> Int Source # alignment :: CShort -> Int Source # peekElemOff :: Ptr CShort -> Int -> IO CShort Source # pokeElemOff :: Ptr CShort -> Int -> CShort -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CShort Source # pokeByteOff :: Ptr b -> Int -> CShort -> IO () Source # | |||||
| Ix CShort | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CShort | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CShort | |||||
| Integral CShort | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CShort -> Rational Source # | |||||
| Show CShort | |||||
| Eq CShort | |||||
| Ord CShort | |||||
| type Difference CShort Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C unsigned short type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| Integral CUShort Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CUShort Source # | |||||
| NormalForm CUShort Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CUShort -> () Source # | |||||
| Additive CUShort Source # | |||||
| IDivisible CUShort Source # | |||||
| Multiplicative CUShort Source # | |||||
| IsIntegral CUShort Source # | |||||
| IsNatural CUShort Source # | |||||
| Subtractive CUShort Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CUShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CUShort -> CUShort -> CUShort Source # (.|.) :: CUShort -> CUShort -> CUShort Source # xor :: CUShort -> CUShort -> CUShort Source # complement :: CUShort -> CUShort Source # shift :: CUShort -> Int -> CUShort Source # rotate :: CUShort -> Int -> CUShort Source # bit :: Int -> CUShort Source # setBit :: CUShort -> Int -> CUShort Source # clearBit :: CUShort -> Int -> CUShort Source # complementBit :: CUShort -> Int -> CUShort Source # testBit :: CUShort -> Int -> Bool Source # bitSizeMaybe :: CUShort -> Maybe Int Source # bitSize :: CUShort -> Int Source # isSigned :: CUShort -> Bool Source # shiftL :: CUShort -> Int -> CUShort Source # unsafeShiftL :: CUShort -> Int -> CUShort Source # shiftR :: CUShort -> Int -> CUShort Source # unsafeShiftR :: CUShort -> Int -> CUShort Source # rotateL :: CUShort -> Int -> CUShort Source # | |||||
| FiniteBits CUShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CUShort -> Int Source # countLeadingZeros :: CUShort -> Int Source # countTrailingZeros :: CUShort -> Int Source # | |||||
| Bounded CUShort | |||||
| Enum CUShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CUShort -> CUShort Source # pred :: CUShort -> CUShort Source # toEnum :: Int -> CUShort Source # fromEnum :: CUShort -> Int Source # enumFrom :: CUShort -> [CUShort] Source # enumFromThen :: CUShort -> CUShort -> [CUShort] Source # enumFromTo :: CUShort -> CUShort -> [CUShort] Source # enumFromThenTo :: CUShort -> CUShort -> CUShort -> [CUShort] Source # | |||||
| Storable CUShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CUShort -> Int Source # alignment :: CUShort -> Int Source # peekElemOff :: Ptr CUShort -> Int -> IO CUShort Source # pokeElemOff :: Ptr CUShort -> Int -> CUShort -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CUShort Source # pokeByteOff :: Ptr b -> Int -> CUShort -> IO () Source # | |||||
| Ix CUShort | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CUShort | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CUShort | |||||
| Integral CUShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods quot :: CUShort -> CUShort -> CUShort Source # rem :: CUShort -> CUShort -> CUShort Source # div :: CUShort -> CUShort -> CUShort Source # mod :: CUShort -> CUShort -> CUShort Source # quotRem :: CUShort -> CUShort -> (CUShort, CUShort) Source # | |||||
| Real CUShort | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CUShort -> Rational Source # | |||||
| Show CUShort | |||||
| Eq CUShort | |||||
| Ord CUShort | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CUShort Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C int type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| HasNegation CInt Source # | |||||
| Integral CInt Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CInt Source # | |||||
| NormalForm CInt Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CInt -> () Source # | |||||
| Additive CInt Source # | |||||
| IDivisible CInt Source # | |||||
| Multiplicative CInt Source # | |||||
| IsIntegral CInt Source # | |||||
| Subtractive CInt Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CInt | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CInt -> CInt -> CInt Source # (.|.) :: CInt -> CInt -> CInt Source # xor :: CInt -> CInt -> CInt Source # complement :: CInt -> CInt Source # shift :: CInt -> Int -> CInt Source # rotate :: CInt -> Int -> CInt Source # setBit :: CInt -> Int -> CInt Source # clearBit :: CInt -> Int -> CInt Source # complementBit :: CInt -> Int -> CInt Source # testBit :: CInt -> Int -> Bool Source # bitSizeMaybe :: CInt -> Maybe Int Source # bitSize :: CInt -> Int Source # isSigned :: CInt -> Bool Source # shiftL :: CInt -> Int -> CInt Source # unsafeShiftL :: CInt -> Int -> CInt Source # shiftR :: CInt -> Int -> CInt Source # unsafeShiftR :: CInt -> Int -> CInt Source # rotateL :: CInt -> Int -> CInt Source # | |||||
| FiniteBits CInt | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CInt -> Int Source # countLeadingZeros :: CInt -> Int Source # countTrailingZeros :: CInt -> Int Source # | |||||
| Bounded CInt | |||||
| Enum CInt | |||||
| Storable CInt | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CInt -> Int Source # alignment :: CInt -> Int Source # peekElemOff :: Ptr CInt -> Int -> IO CInt Source # pokeElemOff :: Ptr CInt -> Int -> CInt -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CInt Source # pokeByteOff :: Ptr b -> Int -> CInt -> IO () Source # | |||||
| Ix CInt | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CInt | |||||
| Read CInt | |||||
| Integral CInt | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CInt | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CInt -> Rational Source # | |||||
| Show CInt | |||||
| Eq CInt | |||||
| Ord CInt | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CInt Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C unsigned int type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| Integral CUInt Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CUInt Source # | |||||
| NormalForm CUInt Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CUInt -> () Source # | |||||
| Additive CUInt Source # | |||||
| IDivisible CUInt Source # | |||||
| Multiplicative CUInt Source # | |||||
| IsIntegral CUInt Source # | |||||
| IsNatural CUInt Source # | |||||
| Subtractive CUInt Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CUInt | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CUInt -> CUInt -> CUInt Source # (.|.) :: CUInt -> CUInt -> CUInt Source # xor :: CUInt -> CUInt -> CUInt Source # complement :: CUInt -> CUInt Source # shift :: CUInt -> Int -> CUInt Source # rotate :: CUInt -> Int -> CUInt Source # setBit :: CUInt -> Int -> CUInt Source # clearBit :: CUInt -> Int -> CUInt Source # complementBit :: CUInt -> Int -> CUInt Source # testBit :: CUInt -> Int -> Bool Source # bitSizeMaybe :: CUInt -> Maybe Int Source # bitSize :: CUInt -> Int Source # isSigned :: CUInt -> Bool Source # shiftL :: CUInt -> Int -> CUInt Source # unsafeShiftL :: CUInt -> Int -> CUInt Source # shiftR :: CUInt -> Int -> CUInt Source # unsafeShiftR :: CUInt -> Int -> CUInt Source # rotateL :: CUInt -> Int -> CUInt Source # | |||||
| FiniteBits CUInt | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CUInt -> Int Source # countLeadingZeros :: CUInt -> Int Source # countTrailingZeros :: CUInt -> Int Source # | |||||
| Bounded CUInt | |||||
| Enum CUInt | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CUInt -> CUInt Source # pred :: CUInt -> CUInt Source # toEnum :: Int -> CUInt Source # fromEnum :: CUInt -> Int Source # enumFrom :: CUInt -> [CUInt] Source # enumFromThen :: CUInt -> CUInt -> [CUInt] Source # enumFromTo :: CUInt -> CUInt -> [CUInt] Source # enumFromThenTo :: CUInt -> CUInt -> CUInt -> [CUInt] Source # | |||||
| Storable CUInt | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CUInt -> Int Source # alignment :: CUInt -> Int Source # peekElemOff :: Ptr CUInt -> Int -> IO CUInt Source # pokeElemOff :: Ptr CUInt -> Int -> CUInt -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CUInt Source # pokeByteOff :: Ptr b -> Int -> CUInt -> IO () Source # | |||||
| Ix CUInt | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CUInt | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CUInt | |||||
| Integral CUInt | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CUInt | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CUInt -> Rational Source # | |||||
| Show CUInt | |||||
| Eq CUInt | |||||
| Ord CUInt | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CUInt Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C long type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| HasNegation CLong Source # | |||||
| Integral CLong Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CLong Source # | |||||
| NormalForm CLong Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CLong -> () Source # | |||||
| Additive CLong Source # | |||||
| IDivisible CLong Source # | |||||
| Multiplicative CLong Source # | |||||
| IsIntegral CLong Source # | |||||
| Subtractive CLong Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CLong -> CLong -> CLong Source # (.|.) :: CLong -> CLong -> CLong Source # xor :: CLong -> CLong -> CLong Source # complement :: CLong -> CLong Source # shift :: CLong -> Int -> CLong Source # rotate :: CLong -> Int -> CLong Source # setBit :: CLong -> Int -> CLong Source # clearBit :: CLong -> Int -> CLong Source # complementBit :: CLong -> Int -> CLong Source # testBit :: CLong -> Int -> Bool Source # bitSizeMaybe :: CLong -> Maybe Int Source # bitSize :: CLong -> Int Source # isSigned :: CLong -> Bool Source # shiftL :: CLong -> Int -> CLong Source # unsafeShiftL :: CLong -> Int -> CLong Source # shiftR :: CLong -> Int -> CLong Source # unsafeShiftR :: CLong -> Int -> CLong Source # rotateL :: CLong -> Int -> CLong Source # | |||||
| FiniteBits CLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CLong -> Int Source # countLeadingZeros :: CLong -> Int Source # countTrailingZeros :: CLong -> Int Source # | |||||
| Bounded CLong | |||||
| Enum CLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CLong -> CLong Source # pred :: CLong -> CLong Source # toEnum :: Int -> CLong Source # fromEnum :: CLong -> Int Source # enumFrom :: CLong -> [CLong] Source # enumFromThen :: CLong -> CLong -> [CLong] Source # enumFromTo :: CLong -> CLong -> [CLong] Source # enumFromThenTo :: CLong -> CLong -> CLong -> [CLong] Source # | |||||
| Storable CLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CLong -> Int Source # alignment :: CLong -> Int Source # peekElemOff :: Ptr CLong -> Int -> IO CLong Source # pokeElemOff :: Ptr CLong -> Int -> CLong -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CLong Source # pokeByteOff :: Ptr b -> Int -> CLong -> IO () Source # | |||||
| Ix CLong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CLong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CLong | |||||
| Integral CLong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CLong -> Rational Source # | |||||
| Show CLong | |||||
| Eq CLong | |||||
| Ord CLong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CLong Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C unsigned long type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| Integral CULong Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CULong Source # | |||||
| NormalForm CULong Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CULong -> () Source # | |||||
| Additive CULong Source # | |||||
| IDivisible CULong Source # | |||||
| Multiplicative CULong Source # | |||||
| IsIntegral CULong Source # | |||||
| IsNatural CULong Source # | |||||
| Subtractive CULong Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CULong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CULong -> CULong -> CULong Source # (.|.) :: CULong -> CULong -> CULong Source # xor :: CULong -> CULong -> CULong Source # complement :: CULong -> CULong Source # shift :: CULong -> Int -> CULong Source # rotate :: CULong -> Int -> CULong Source # setBit :: CULong -> Int -> CULong Source # clearBit :: CULong -> Int -> CULong Source # complementBit :: CULong -> Int -> CULong Source # testBit :: CULong -> Int -> Bool Source # bitSizeMaybe :: CULong -> Maybe Int Source # bitSize :: CULong -> Int Source # isSigned :: CULong -> Bool Source # shiftL :: CULong -> Int -> CULong Source # unsafeShiftL :: CULong -> Int -> CULong Source # shiftR :: CULong -> Int -> CULong Source # unsafeShiftR :: CULong -> Int -> CULong Source # rotateL :: CULong -> Int -> CULong Source # | |||||
| FiniteBits CULong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CULong -> Int Source # countLeadingZeros :: CULong -> Int Source # countTrailingZeros :: CULong -> Int Source # | |||||
| Bounded CULong | |||||
| Enum CULong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CULong -> CULong Source # pred :: CULong -> CULong Source # toEnum :: Int -> CULong Source # fromEnum :: CULong -> Int Source # enumFrom :: CULong -> [CULong] Source # enumFromThen :: CULong -> CULong -> [CULong] Source # enumFromTo :: CULong -> CULong -> [CULong] Source # enumFromThenTo :: CULong -> CULong -> CULong -> [CULong] Source # | |||||
| Storable CULong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CULong -> Int Source # alignment :: CULong -> Int Source # peekElemOff :: Ptr CULong -> Int -> IO CULong Source # pokeElemOff :: Ptr CULong -> Int -> CULong -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CULong Source # pokeByteOff :: Ptr b -> Int -> CULong -> IO () Source # | |||||
| Ix CULong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CULong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CULong | |||||
| Integral CULong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CULong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CULong -> Rational Source # | |||||
| Show CULong | |||||
| Eq CULong | |||||
| Ord CULong | |||||
| type Difference CULong Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C ptrdiff_t type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| HasNegation CPtrdiff Source # | |||||
| Integral CPtrdiff Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CPtrdiff Source # | |||||
| Additive CPtrdiff Source # | |||||
| IDivisible CPtrdiff Source # | |||||
| Multiplicative CPtrdiff Source # | |||||
| IsIntegral CPtrdiff Source # | |||||
| Subtractive CPtrdiff Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CPtrdiff | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CPtrdiff -> CPtrdiff -> CPtrdiff Source # (.|.) :: CPtrdiff -> CPtrdiff -> CPtrdiff Source # xor :: CPtrdiff -> CPtrdiff -> CPtrdiff Source # complement :: CPtrdiff -> CPtrdiff Source # shift :: CPtrdiff -> Int -> CPtrdiff Source # rotate :: CPtrdiff -> Int -> CPtrdiff Source # bit :: Int -> CPtrdiff Source # setBit :: CPtrdiff -> Int -> CPtrdiff Source # clearBit :: CPtrdiff -> Int -> CPtrdiff Source # complementBit :: CPtrdiff -> Int -> CPtrdiff Source # testBit :: CPtrdiff -> Int -> Bool Source # bitSizeMaybe :: CPtrdiff -> Maybe Int Source # bitSize :: CPtrdiff -> Int Source # isSigned :: CPtrdiff -> Bool Source # shiftL :: CPtrdiff -> Int -> CPtrdiff Source # unsafeShiftL :: CPtrdiff -> Int -> CPtrdiff Source # shiftR :: CPtrdiff -> Int -> CPtrdiff Source # unsafeShiftR :: CPtrdiff -> Int -> CPtrdiff Source # rotateL :: CPtrdiff -> Int -> CPtrdiff Source # | |||||
| FiniteBits CPtrdiff | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CPtrdiff -> Int Source # countLeadingZeros :: CPtrdiff -> Int Source # countTrailingZeros :: CPtrdiff -> Int Source # | |||||
| Bounded CPtrdiff | |||||
| Enum CPtrdiff | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CPtrdiff -> CPtrdiff Source # pred :: CPtrdiff -> CPtrdiff Source # toEnum :: Int -> CPtrdiff Source # fromEnum :: CPtrdiff -> Int Source # enumFrom :: CPtrdiff -> [CPtrdiff] Source # enumFromThen :: CPtrdiff -> CPtrdiff -> [CPtrdiff] Source # enumFromTo :: CPtrdiff -> CPtrdiff -> [CPtrdiff] Source # enumFromThenTo :: CPtrdiff -> CPtrdiff -> CPtrdiff -> [CPtrdiff] Source # | |||||
| Storable CPtrdiff | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CPtrdiff -> Int Source # alignment :: CPtrdiff -> Int Source # peekElemOff :: Ptr CPtrdiff -> Int -> IO CPtrdiff Source # pokeElemOff :: Ptr CPtrdiff -> Int -> CPtrdiff -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CPtrdiff Source # pokeByteOff :: Ptr b -> Int -> CPtrdiff -> IO () Source # | |||||
| Ix CPtrdiff | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CPtrdiff | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (+) :: CPtrdiff -> CPtrdiff -> CPtrdiff Source # (-) :: CPtrdiff -> CPtrdiff -> CPtrdiff Source # (*) :: CPtrdiff -> CPtrdiff -> CPtrdiff Source # negate :: CPtrdiff -> CPtrdiff Source # abs :: CPtrdiff -> CPtrdiff Source # signum :: CPtrdiff -> CPtrdiff Source # fromInteger :: Integer -> CPtrdiff Source # | |||||
| Read CPtrdiff | |||||
| Integral CPtrdiff | |||||
Defined in GHC.Internal.Foreign.C.Types Methods quot :: CPtrdiff -> CPtrdiff -> CPtrdiff Source # rem :: CPtrdiff -> CPtrdiff -> CPtrdiff Source # div :: CPtrdiff -> CPtrdiff -> CPtrdiff Source # mod :: CPtrdiff -> CPtrdiff -> CPtrdiff Source # quotRem :: CPtrdiff -> CPtrdiff -> (CPtrdiff, CPtrdiff) Source # divMod :: CPtrdiff -> CPtrdiff -> (CPtrdiff, CPtrdiff) Source # | |||||
| Real CPtrdiff | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CPtrdiff -> Rational Source # | |||||
| Show CPtrdiff | |||||
| Eq CPtrdiff | |||||
| Ord CPtrdiff | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CPtrdiff Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C size_t type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| Integral CSize Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CSize Source # | |||||
| Additive CSize Source # | |||||
| IDivisible CSize Source # | |||||
| Multiplicative CSize Source # | |||||
| IsIntegral CSize Source # | |||||
| IsNatural CSize Source # | |||||
| Subtractive CSize Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CSize | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CSize -> CSize -> CSize Source # (.|.) :: CSize -> CSize -> CSize Source # xor :: CSize -> CSize -> CSize Source # complement :: CSize -> CSize Source # shift :: CSize -> Int -> CSize Source # rotate :: CSize -> Int -> CSize Source # setBit :: CSize -> Int -> CSize Source # clearBit :: CSize -> Int -> CSize Source # complementBit :: CSize -> Int -> CSize Source # testBit :: CSize -> Int -> Bool Source # bitSizeMaybe :: CSize -> Maybe Int Source # bitSize :: CSize -> Int Source # isSigned :: CSize -> Bool Source # shiftL :: CSize -> Int -> CSize Source # unsafeShiftL :: CSize -> Int -> CSize Source # shiftR :: CSize -> Int -> CSize Source # unsafeShiftR :: CSize -> Int -> CSize Source # rotateL :: CSize -> Int -> CSize Source # | |||||
| FiniteBits CSize | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CSize -> Int Source # countLeadingZeros :: CSize -> Int Source # countTrailingZeros :: CSize -> Int Source # | |||||
| Bounded CSize | |||||
| Enum CSize | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CSize -> CSize Source # pred :: CSize -> CSize Source # toEnum :: Int -> CSize Source # fromEnum :: CSize -> Int Source # enumFrom :: CSize -> [CSize] Source # enumFromThen :: CSize -> CSize -> [CSize] Source # enumFromTo :: CSize -> CSize -> [CSize] Source # enumFromThenTo :: CSize -> CSize -> CSize -> [CSize] Source # | |||||
| Storable CSize | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CSize -> Int Source # alignment :: CSize -> Int Source # peekElemOff :: Ptr CSize -> Int -> IO CSize Source # pokeElemOff :: Ptr CSize -> Int -> CSize -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CSize Source # pokeByteOff :: Ptr b -> Int -> CSize -> IO () Source # | |||||
| Ix CSize | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CSize | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CSize | |||||
| Integral CSize | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CSize | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CSize -> Rational Source # | |||||
| Show CSize | |||||
| Eq CSize | |||||
| Ord CSize | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CSize Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C wchar_t type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| HasNegation CWchar Source # | |||||
| Integral CWchar Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CWchar Source # | |||||
| Additive CWchar Source # | |||||
| IDivisible CWchar Source # | |||||
| Multiplicative CWchar Source # | |||||
| IsIntegral CWchar Source # | |||||
| Subtractive CWchar Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CWchar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CWchar -> CWchar -> CWchar Source # (.|.) :: CWchar -> CWchar -> CWchar Source # xor :: CWchar -> CWchar -> CWchar Source # complement :: CWchar -> CWchar Source # shift :: CWchar -> Int -> CWchar Source # rotate :: CWchar -> Int -> CWchar Source # setBit :: CWchar -> Int -> CWchar Source # clearBit :: CWchar -> Int -> CWchar Source # complementBit :: CWchar -> Int -> CWchar Source # testBit :: CWchar -> Int -> Bool Source # bitSizeMaybe :: CWchar -> Maybe Int Source # bitSize :: CWchar -> Int Source # isSigned :: CWchar -> Bool Source # shiftL :: CWchar -> Int -> CWchar Source # unsafeShiftL :: CWchar -> Int -> CWchar Source # shiftR :: CWchar -> Int -> CWchar Source # unsafeShiftR :: CWchar -> Int -> CWchar Source # rotateL :: CWchar -> Int -> CWchar Source # | |||||
| FiniteBits CWchar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CWchar -> Int Source # countLeadingZeros :: CWchar -> Int Source # countTrailingZeros :: CWchar -> Int Source # | |||||
| Bounded CWchar | |||||
| Enum CWchar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CWchar -> CWchar Source # pred :: CWchar -> CWchar Source # toEnum :: Int -> CWchar Source # fromEnum :: CWchar -> Int Source # enumFrom :: CWchar -> [CWchar] Source # enumFromThen :: CWchar -> CWchar -> [CWchar] Source # enumFromTo :: CWchar -> CWchar -> [CWchar] Source # enumFromThenTo :: CWchar -> CWchar -> CWchar -> [CWchar] Source # | |||||
| Storable CWchar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CWchar -> Int Source # alignment :: CWchar -> Int Source # peekElemOff :: Ptr CWchar -> Int -> IO CWchar Source # pokeElemOff :: Ptr CWchar -> Int -> CWchar -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CWchar Source # pokeByteOff :: Ptr b -> Int -> CWchar -> IO () Source # | |||||
| Ix CWchar | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CWchar | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CWchar | |||||
| Integral CWchar | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CWchar | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CWchar -> Rational Source # | |||||
| Show CWchar | |||||
| Eq CWchar | |||||
| Ord CWchar | |||||
| type Difference CWchar Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
newtype CSigAtomic Source #
Haskell type representing the C sig_atomic_t type.
(The concrete types of Foreign.C.Types are platform-specific.)
See Note [Lack of signals on wasm32-wasi].
Constructors
| CSigAtomic Int32 |
Instances
| Integral CSigAtomic Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CSigAtomic Source # | |||||
| Additive CSigAtomic Source # | |||||
Defined in Basement.Numerical.Additive Methods azero :: CSigAtomic Source # (+) :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # scale :: IsNatural n => n -> CSigAtomic -> CSigAtomic Source # | |||||
| IDivisible CSigAtomic Source # | |||||
Defined in Basement.Numerical.Multiplicative Methods div :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # mod :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # divMod :: CSigAtomic -> CSigAtomic -> (CSigAtomic, CSigAtomic) Source # | |||||
| Multiplicative CSigAtomic Source # | |||||
Defined in Basement.Numerical.Multiplicative Methods midentity :: CSigAtomic Source # (*) :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # (^) :: (IsNatural n, Enum n, IDivisible n) => CSigAtomic -> n -> CSigAtomic Source # | |||||
| IsIntegral CSigAtomic Source # | |||||
Defined in Basement.Numerical.Number Methods toInteger :: CSigAtomic -> Integer Source # | |||||
| Subtractive CSigAtomic Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
Methods (-) :: CSigAtomic -> CSigAtomic -> Difference CSigAtomic Source # | |||||
| Bits CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # (.|.) :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # xor :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # complement :: CSigAtomic -> CSigAtomic Source # shift :: CSigAtomic -> Int -> CSigAtomic Source # rotate :: CSigAtomic -> Int -> CSigAtomic Source # zeroBits :: CSigAtomic Source # bit :: Int -> CSigAtomic Source # setBit :: CSigAtomic -> Int -> CSigAtomic Source # clearBit :: CSigAtomic -> Int -> CSigAtomic Source # complementBit :: CSigAtomic -> Int -> CSigAtomic Source # testBit :: CSigAtomic -> Int -> Bool Source # bitSizeMaybe :: CSigAtomic -> Maybe Int Source # bitSize :: CSigAtomic -> Int Source # isSigned :: CSigAtomic -> Bool Source # shiftL :: CSigAtomic -> Int -> CSigAtomic Source # unsafeShiftL :: CSigAtomic -> Int -> CSigAtomic Source # shiftR :: CSigAtomic -> Int -> CSigAtomic Source # unsafeShiftR :: CSigAtomic -> Int -> CSigAtomic Source # rotateL :: CSigAtomic -> Int -> CSigAtomic Source # rotateR :: CSigAtomic -> Int -> CSigAtomic Source # popCount :: CSigAtomic -> Int Source # | |||||
| FiniteBits CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CSigAtomic -> Int Source # countLeadingZeros :: CSigAtomic -> Int Source # countTrailingZeros :: CSigAtomic -> Int Source # | |||||
| Bounded CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Enum CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CSigAtomic -> CSigAtomic Source # pred :: CSigAtomic -> CSigAtomic Source # toEnum :: Int -> CSigAtomic Source # fromEnum :: CSigAtomic -> Int Source # enumFrom :: CSigAtomic -> [CSigAtomic] Source # enumFromThen :: CSigAtomic -> CSigAtomic -> [CSigAtomic] Source # enumFromTo :: CSigAtomic -> CSigAtomic -> [CSigAtomic] Source # enumFromThenTo :: CSigAtomic -> CSigAtomic -> CSigAtomic -> [CSigAtomic] Source # | |||||
| Storable CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CSigAtomic -> Int Source # alignment :: CSigAtomic -> Int Source # peekElemOff :: Ptr CSigAtomic -> Int -> IO CSigAtomic Source # pokeElemOff :: Ptr CSigAtomic -> Int -> CSigAtomic -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CSigAtomic Source # pokeByteOff :: Ptr b -> Int -> CSigAtomic -> IO () Source # peek :: Ptr CSigAtomic -> IO CSigAtomic Source # poke :: Ptr CSigAtomic -> CSigAtomic -> IO () Source # | |||||
| Ix CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types Methods range :: (CSigAtomic, CSigAtomic) -> [CSigAtomic] Source # index :: (CSigAtomic, CSigAtomic) -> CSigAtomic -> Int Source # unsafeIndex :: (CSigAtomic, CSigAtomic) -> CSigAtomic -> Int Source # inRange :: (CSigAtomic, CSigAtomic) -> CSigAtomic -> Bool Source # rangeSize :: (CSigAtomic, CSigAtomic) -> Int Source # unsafeRangeSize :: (CSigAtomic, CSigAtomic) -> Int Source # | |||||
| Num CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (+) :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # (-) :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # (*) :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # negate :: CSigAtomic -> CSigAtomic Source # abs :: CSigAtomic -> CSigAtomic Source # signum :: CSigAtomic -> CSigAtomic Source # fromInteger :: Integer -> CSigAtomic Source # | |||||
| Read CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Integral CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types Methods quot :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # rem :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # div :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # mod :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # quotRem :: CSigAtomic -> CSigAtomic -> (CSigAtomic, CSigAtomic) Source # divMod :: CSigAtomic -> CSigAtomic -> (CSigAtomic, CSigAtomic) Source # toInteger :: CSigAtomic -> Integer Source # | |||||
| Real CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CSigAtomic -> Rational Source # | |||||
| Show CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Eq CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (==) :: CSigAtomic -> CSigAtomic -> Bool Source # (/=) :: CSigAtomic -> CSigAtomic -> Bool Source # | |||||
| Ord CSigAtomic | |||||
Defined in GHC.Internal.Foreign.C.Types Methods compare :: CSigAtomic -> CSigAtomic -> Ordering Source # (<) :: CSigAtomic -> CSigAtomic -> Bool Source # (<=) :: CSigAtomic -> CSigAtomic -> Bool Source # (>) :: CSigAtomic -> CSigAtomic -> Bool Source # (>=) :: CSigAtomic -> CSigAtomic -> Bool Source # max :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # min :: CSigAtomic -> CSigAtomic -> CSigAtomic Source # | |||||
| type Difference CSigAtomic Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C long long type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| HasNegation CLLong Source # | |||||
| Integral CLLong Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CLLong Source # | |||||
| NormalForm CLLong Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CLLong -> () Source # | |||||
| Additive CLLong Source # | |||||
| IDivisible CLLong Source # | |||||
| Multiplicative CLLong Source # | |||||
| IsIntegral CLLong Source # | |||||
| Subtractive CLLong Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CLLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CLLong -> CLLong -> CLLong Source # (.|.) :: CLLong -> CLLong -> CLLong Source # xor :: CLLong -> CLLong -> CLLong Source # complement :: CLLong -> CLLong Source # shift :: CLLong -> Int -> CLLong Source # rotate :: CLLong -> Int -> CLLong Source # setBit :: CLLong -> Int -> CLLong Source # clearBit :: CLLong -> Int -> CLLong Source # complementBit :: CLLong -> Int -> CLLong Source # testBit :: CLLong -> Int -> Bool Source # bitSizeMaybe :: CLLong -> Maybe Int Source # bitSize :: CLLong -> Int Source # isSigned :: CLLong -> Bool Source # shiftL :: CLLong -> Int -> CLLong Source # unsafeShiftL :: CLLong -> Int -> CLLong Source # shiftR :: CLLong -> Int -> CLLong Source # unsafeShiftR :: CLLong -> Int -> CLLong Source # rotateL :: CLLong -> Int -> CLLong Source # | |||||
| FiniteBits CLLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CLLong -> Int Source # countLeadingZeros :: CLLong -> Int Source # countTrailingZeros :: CLLong -> Int Source # | |||||
| Bounded CLLong | |||||
| Enum CLLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CLLong -> CLLong Source # pred :: CLLong -> CLLong Source # toEnum :: Int -> CLLong Source # fromEnum :: CLLong -> Int Source # enumFrom :: CLLong -> [CLLong] Source # enumFromThen :: CLLong -> CLLong -> [CLLong] Source # enumFromTo :: CLLong -> CLLong -> [CLLong] Source # enumFromThenTo :: CLLong -> CLLong -> CLLong -> [CLLong] Source # | |||||
| Storable CLLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CLLong -> Int Source # alignment :: CLLong -> Int Source # peekElemOff :: Ptr CLLong -> Int -> IO CLLong Source # pokeElemOff :: Ptr CLLong -> Int -> CLLong -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CLLong Source # pokeByteOff :: Ptr b -> Int -> CLLong -> IO () Source # | |||||
| Ix CLLong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CLLong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CLLong | |||||
| Integral CLLong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CLLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CLLong -> Rational Source # | |||||
| Show CLLong | |||||
| Eq CLLong | |||||
| Ord CLLong | |||||
| type Difference CLLong Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C unsigned long long type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| Integral CULLong Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CULLong Source # | |||||
| NormalForm CULLong Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CULLong -> () Source # | |||||
| Additive CULLong Source # | |||||
| IDivisible CULLong Source # | |||||
| Multiplicative CULLong Source # | |||||
| IsIntegral CULLong Source # | |||||
| IsNatural CULLong Source # | |||||
| Subtractive CULLong Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CULLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CULLong -> CULLong -> CULLong Source # (.|.) :: CULLong -> CULLong -> CULLong Source # xor :: CULLong -> CULLong -> CULLong Source # complement :: CULLong -> CULLong Source # shift :: CULLong -> Int -> CULLong Source # rotate :: CULLong -> Int -> CULLong Source # bit :: Int -> CULLong Source # setBit :: CULLong -> Int -> CULLong Source # clearBit :: CULLong -> Int -> CULLong Source # complementBit :: CULLong -> Int -> CULLong Source # testBit :: CULLong -> Int -> Bool Source # bitSizeMaybe :: CULLong -> Maybe Int Source # bitSize :: CULLong -> Int Source # isSigned :: CULLong -> Bool Source # shiftL :: CULLong -> Int -> CULLong Source # unsafeShiftL :: CULLong -> Int -> CULLong Source # shiftR :: CULLong -> Int -> CULLong Source # unsafeShiftR :: CULLong -> Int -> CULLong Source # rotateL :: CULLong -> Int -> CULLong Source # | |||||
| FiniteBits CULLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CULLong -> Int Source # countLeadingZeros :: CULLong -> Int Source # countTrailingZeros :: CULLong -> Int Source # | |||||
| Bounded CULLong | |||||
| Enum CULLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CULLong -> CULLong Source # pred :: CULLong -> CULLong Source # toEnum :: Int -> CULLong Source # fromEnum :: CULLong -> Int Source # enumFrom :: CULLong -> [CULLong] Source # enumFromThen :: CULLong -> CULLong -> [CULLong] Source # enumFromTo :: CULLong -> CULLong -> [CULLong] Source # enumFromThenTo :: CULLong -> CULLong -> CULLong -> [CULLong] Source # | |||||
| Storable CULLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CULLong -> Int Source # alignment :: CULLong -> Int Source # peekElemOff :: Ptr CULLong -> Int -> IO CULLong Source # pokeElemOff :: Ptr CULLong -> Int -> CULLong -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CULLong Source # pokeByteOff :: Ptr b -> Int -> CULLong -> IO () Source # | |||||
| Ix CULLong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CULLong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CULLong | |||||
| Integral CULLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods quot :: CULLong -> CULLong -> CULLong Source # rem :: CULLong -> CULLong -> CULLong Source # div :: CULLong -> CULLong -> CULLong Source # mod :: CULLong -> CULLong -> CULLong Source # quotRem :: CULLong -> CULLong -> (CULLong, CULLong) Source # | |||||
| Real CULLong | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CULLong -> Rational Source # | |||||
| Show CULLong | |||||
| Eq CULLong | |||||
| Ord CULLong | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CULLong Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C bool type.
(The concrete types of Foreign.C.Types are platform-specific.)
Since: base-4.10.0.0
Instances
| Integral CBool Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CBool Source # | |||||
| IsIntegral CBool Source # | |||||
| Subtractive CBool Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CBool | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CBool -> CBool -> CBool Source # (.|.) :: CBool -> CBool -> CBool Source # xor :: CBool -> CBool -> CBool Source # complement :: CBool -> CBool Source # shift :: CBool -> Int -> CBool Source # rotate :: CBool -> Int -> CBool Source # setBit :: CBool -> Int -> CBool Source # clearBit :: CBool -> Int -> CBool Source # complementBit :: CBool -> Int -> CBool Source # testBit :: CBool -> Int -> Bool Source # bitSizeMaybe :: CBool -> Maybe Int Source # bitSize :: CBool -> Int Source # isSigned :: CBool -> Bool Source # shiftL :: CBool -> Int -> CBool Source # unsafeShiftL :: CBool -> Int -> CBool Source # shiftR :: CBool -> Int -> CBool Source # unsafeShiftR :: CBool -> Int -> CBool Source # rotateL :: CBool -> Int -> CBool Source # | |||||
| FiniteBits CBool | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CBool -> Int Source # countLeadingZeros :: CBool -> Int Source # countTrailingZeros :: CBool -> Int Source # | |||||
| Bounded CBool | |||||
| Enum CBool | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CBool -> CBool Source # pred :: CBool -> CBool Source # toEnum :: Int -> CBool Source # fromEnum :: CBool -> Int Source # enumFrom :: CBool -> [CBool] Source # enumFromThen :: CBool -> CBool -> [CBool] Source # enumFromTo :: CBool -> CBool -> [CBool] Source # enumFromThenTo :: CBool -> CBool -> CBool -> [CBool] Source # | |||||
| Storable CBool | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CBool -> Int Source # alignment :: CBool -> Int Source # peekElemOff :: Ptr CBool -> Int -> IO CBool Source # pokeElemOff :: Ptr CBool -> Int -> CBool -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CBool Source # pokeByteOff :: Ptr b -> Int -> CBool -> IO () Source # | |||||
| Ix CBool | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CBool | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CBool | |||||
| Integral CBool | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CBool | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CBool -> Rational Source # | |||||
| Show CBool | |||||
| Eq CBool | |||||
| Ord CBool | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CBool Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Instances
| Integral CIntPtr Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CIntPtr Source # | |||||
| Additive CIntPtr Source # | |||||
| IDivisible CIntPtr Source # | |||||
| Multiplicative CIntPtr Source # | |||||
| IsIntegral CIntPtr Source # | |||||
| Subtractive CIntPtr Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CIntPtr -> CIntPtr -> CIntPtr Source # (.|.) :: CIntPtr -> CIntPtr -> CIntPtr Source # xor :: CIntPtr -> CIntPtr -> CIntPtr Source # complement :: CIntPtr -> CIntPtr Source # shift :: CIntPtr -> Int -> CIntPtr Source # rotate :: CIntPtr -> Int -> CIntPtr Source # bit :: Int -> CIntPtr Source # setBit :: CIntPtr -> Int -> CIntPtr Source # clearBit :: CIntPtr -> Int -> CIntPtr Source # complementBit :: CIntPtr -> Int -> CIntPtr Source # testBit :: CIntPtr -> Int -> Bool Source # bitSizeMaybe :: CIntPtr -> Maybe Int Source # bitSize :: CIntPtr -> Int Source # isSigned :: CIntPtr -> Bool Source # shiftL :: CIntPtr -> Int -> CIntPtr Source # unsafeShiftL :: CIntPtr -> Int -> CIntPtr Source # shiftR :: CIntPtr -> Int -> CIntPtr Source # unsafeShiftR :: CIntPtr -> Int -> CIntPtr Source # rotateL :: CIntPtr -> Int -> CIntPtr Source # | |||||
| FiniteBits CIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CIntPtr -> Int Source # countLeadingZeros :: CIntPtr -> Int Source # countTrailingZeros :: CIntPtr -> Int Source # | |||||
| Bounded CIntPtr | |||||
| Enum CIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CIntPtr -> CIntPtr Source # pred :: CIntPtr -> CIntPtr Source # toEnum :: Int -> CIntPtr Source # fromEnum :: CIntPtr -> Int Source # enumFrom :: CIntPtr -> [CIntPtr] Source # enumFromThen :: CIntPtr -> CIntPtr -> [CIntPtr] Source # enumFromTo :: CIntPtr -> CIntPtr -> [CIntPtr] Source # enumFromThenTo :: CIntPtr -> CIntPtr -> CIntPtr -> [CIntPtr] Source # | |||||
| Storable CIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CIntPtr -> Int Source # alignment :: CIntPtr -> Int Source # peekElemOff :: Ptr CIntPtr -> Int -> IO CIntPtr Source # pokeElemOff :: Ptr CIntPtr -> Int -> CIntPtr -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CIntPtr Source # pokeByteOff :: Ptr b -> Int -> CIntPtr -> IO () Source # | |||||
| Ix CIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CIntPtr | |||||
| Integral CIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods quot :: CIntPtr -> CIntPtr -> CIntPtr Source # rem :: CIntPtr -> CIntPtr -> CIntPtr Source # div :: CIntPtr -> CIntPtr -> CIntPtr Source # mod :: CIntPtr -> CIntPtr -> CIntPtr Source # quotRem :: CIntPtr -> CIntPtr -> (CIntPtr, CIntPtr) Source # | |||||
| Real CIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CIntPtr -> Rational Source # | |||||
| Show CIntPtr | |||||
| Eq CIntPtr | |||||
| Ord CIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CIntPtr Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Instances
| Integral CUIntPtr Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CUIntPtr Source # | |||||
| Additive CUIntPtr Source # | |||||
| IDivisible CUIntPtr Source # | |||||
| Multiplicative CUIntPtr Source # | |||||
| IsIntegral CUIntPtr Source # | |||||
| IsNatural CUIntPtr Source # | |||||
| Subtractive CUIntPtr Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CUIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CUIntPtr -> CUIntPtr -> CUIntPtr Source # (.|.) :: CUIntPtr -> CUIntPtr -> CUIntPtr Source # xor :: CUIntPtr -> CUIntPtr -> CUIntPtr Source # complement :: CUIntPtr -> CUIntPtr Source # shift :: CUIntPtr -> Int -> CUIntPtr Source # rotate :: CUIntPtr -> Int -> CUIntPtr Source # bit :: Int -> CUIntPtr Source # setBit :: CUIntPtr -> Int -> CUIntPtr Source # clearBit :: CUIntPtr -> Int -> CUIntPtr Source # complementBit :: CUIntPtr -> Int -> CUIntPtr Source # testBit :: CUIntPtr -> Int -> Bool Source # bitSizeMaybe :: CUIntPtr -> Maybe Int Source # bitSize :: CUIntPtr -> Int Source # isSigned :: CUIntPtr -> Bool Source # shiftL :: CUIntPtr -> Int -> CUIntPtr Source # unsafeShiftL :: CUIntPtr -> Int -> CUIntPtr Source # shiftR :: CUIntPtr -> Int -> CUIntPtr Source # unsafeShiftR :: CUIntPtr -> Int -> CUIntPtr Source # rotateL :: CUIntPtr -> Int -> CUIntPtr Source # | |||||
| FiniteBits CUIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CUIntPtr -> Int Source # countLeadingZeros :: CUIntPtr -> Int Source # countTrailingZeros :: CUIntPtr -> Int Source # | |||||
| Bounded CUIntPtr | |||||
| Enum CUIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CUIntPtr -> CUIntPtr Source # pred :: CUIntPtr -> CUIntPtr Source # toEnum :: Int -> CUIntPtr Source # fromEnum :: CUIntPtr -> Int Source # enumFrom :: CUIntPtr -> [CUIntPtr] Source # enumFromThen :: CUIntPtr -> CUIntPtr -> [CUIntPtr] Source # enumFromTo :: CUIntPtr -> CUIntPtr -> [CUIntPtr] Source # enumFromThenTo :: CUIntPtr -> CUIntPtr -> CUIntPtr -> [CUIntPtr] Source # | |||||
| Storable CUIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CUIntPtr -> Int Source # alignment :: CUIntPtr -> Int Source # peekElemOff :: Ptr CUIntPtr -> Int -> IO CUIntPtr Source # pokeElemOff :: Ptr CUIntPtr -> Int -> CUIntPtr -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CUIntPtr Source # pokeByteOff :: Ptr b -> Int -> CUIntPtr -> IO () Source # | |||||
| Ix CUIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CUIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (+) :: CUIntPtr -> CUIntPtr -> CUIntPtr Source # (-) :: CUIntPtr -> CUIntPtr -> CUIntPtr Source # (*) :: CUIntPtr -> CUIntPtr -> CUIntPtr Source # negate :: CUIntPtr -> CUIntPtr Source # abs :: CUIntPtr -> CUIntPtr Source # signum :: CUIntPtr -> CUIntPtr Source # fromInteger :: Integer -> CUIntPtr Source # | |||||
| Read CUIntPtr | |||||
| Integral CUIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods quot :: CUIntPtr -> CUIntPtr -> CUIntPtr Source # rem :: CUIntPtr -> CUIntPtr -> CUIntPtr Source # div :: CUIntPtr -> CUIntPtr -> CUIntPtr Source # mod :: CUIntPtr -> CUIntPtr -> CUIntPtr Source # quotRem :: CUIntPtr -> CUIntPtr -> (CUIntPtr, CUIntPtr) Source # divMod :: CUIntPtr -> CUIntPtr -> (CUIntPtr, CUIntPtr) Source # | |||||
| Real CUIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CUIntPtr -> Rational Source # | |||||
| Show CUIntPtr | |||||
| Eq CUIntPtr | |||||
| Ord CUIntPtr | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CUIntPtr Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Instances
| HasNegation CIntMax Source # | |||||
| Integral CIntMax Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CIntMax Source # | |||||
| Additive CIntMax Source # | |||||
| IDivisible CIntMax Source # | |||||
| Multiplicative CIntMax Source # | |||||
| IsIntegral CIntMax Source # | |||||
| Subtractive CIntMax Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CIntMax -> CIntMax -> CIntMax Source # (.|.) :: CIntMax -> CIntMax -> CIntMax Source # xor :: CIntMax -> CIntMax -> CIntMax Source # complement :: CIntMax -> CIntMax Source # shift :: CIntMax -> Int -> CIntMax Source # rotate :: CIntMax -> Int -> CIntMax Source # bit :: Int -> CIntMax Source # setBit :: CIntMax -> Int -> CIntMax Source # clearBit :: CIntMax -> Int -> CIntMax Source # complementBit :: CIntMax -> Int -> CIntMax Source # testBit :: CIntMax -> Int -> Bool Source # bitSizeMaybe :: CIntMax -> Maybe Int Source # bitSize :: CIntMax -> Int Source # isSigned :: CIntMax -> Bool Source # shiftL :: CIntMax -> Int -> CIntMax Source # unsafeShiftL :: CIntMax -> Int -> CIntMax Source # shiftR :: CIntMax -> Int -> CIntMax Source # unsafeShiftR :: CIntMax -> Int -> CIntMax Source # rotateL :: CIntMax -> Int -> CIntMax Source # | |||||
| FiniteBits CIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CIntMax -> Int Source # countLeadingZeros :: CIntMax -> Int Source # countTrailingZeros :: CIntMax -> Int Source # | |||||
| Bounded CIntMax | |||||
| Enum CIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CIntMax -> CIntMax Source # pred :: CIntMax -> CIntMax Source # toEnum :: Int -> CIntMax Source # fromEnum :: CIntMax -> Int Source # enumFrom :: CIntMax -> [CIntMax] Source # enumFromThen :: CIntMax -> CIntMax -> [CIntMax] Source # enumFromTo :: CIntMax -> CIntMax -> [CIntMax] Source # enumFromThenTo :: CIntMax -> CIntMax -> CIntMax -> [CIntMax] Source # | |||||
| Storable CIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CIntMax -> Int Source # alignment :: CIntMax -> Int Source # peekElemOff :: Ptr CIntMax -> Int -> IO CIntMax Source # pokeElemOff :: Ptr CIntMax -> Int -> CIntMax -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CIntMax Source # pokeByteOff :: Ptr b -> Int -> CIntMax -> IO () Source # | |||||
| Ix CIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CIntMax | |||||
| Integral CIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods quot :: CIntMax -> CIntMax -> CIntMax Source # rem :: CIntMax -> CIntMax -> CIntMax Source # div :: CIntMax -> CIntMax -> CIntMax Source # mod :: CIntMax -> CIntMax -> CIntMax Source # quotRem :: CIntMax -> CIntMax -> (CIntMax, CIntMax) Source # | |||||
| Real CIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CIntMax -> Rational Source # | |||||
| Show CIntMax | |||||
| Eq CIntMax | |||||
| Ord CIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CIntMax Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Instances
| Integral CUIntMax Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CUIntMax Source # | |||||
| Additive CUIntMax Source # | |||||
| IDivisible CUIntMax Source # | |||||
| Multiplicative CUIntMax Source # | |||||
| IsIntegral CUIntMax Source # | |||||
| IsNatural CUIntMax Source # | |||||
| Subtractive CUIntMax Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits CUIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (.&.) :: CUIntMax -> CUIntMax -> CUIntMax Source # (.|.) :: CUIntMax -> CUIntMax -> CUIntMax Source # xor :: CUIntMax -> CUIntMax -> CUIntMax Source # complement :: CUIntMax -> CUIntMax Source # shift :: CUIntMax -> Int -> CUIntMax Source # rotate :: CUIntMax -> Int -> CUIntMax Source # bit :: Int -> CUIntMax Source # setBit :: CUIntMax -> Int -> CUIntMax Source # clearBit :: CUIntMax -> Int -> CUIntMax Source # complementBit :: CUIntMax -> Int -> CUIntMax Source # testBit :: CUIntMax -> Int -> Bool Source # bitSizeMaybe :: CUIntMax -> Maybe Int Source # bitSize :: CUIntMax -> Int Source # isSigned :: CUIntMax -> Bool Source # shiftL :: CUIntMax -> Int -> CUIntMax Source # unsafeShiftL :: CUIntMax -> Int -> CUIntMax Source # shiftR :: CUIntMax -> Int -> CUIntMax Source # unsafeShiftR :: CUIntMax -> Int -> CUIntMax Source # rotateL :: CUIntMax -> Int -> CUIntMax Source # | |||||
| FiniteBits CUIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods finiteBitSize :: CUIntMax -> Int Source # countLeadingZeros :: CUIntMax -> Int Source # countTrailingZeros :: CUIntMax -> Int Source # | |||||
| Bounded CUIntMax | |||||
| Enum CUIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CUIntMax -> CUIntMax Source # pred :: CUIntMax -> CUIntMax Source # toEnum :: Int -> CUIntMax Source # fromEnum :: CUIntMax -> Int Source # enumFrom :: CUIntMax -> [CUIntMax] Source # enumFromThen :: CUIntMax -> CUIntMax -> [CUIntMax] Source # enumFromTo :: CUIntMax -> CUIntMax -> [CUIntMax] Source # enumFromThenTo :: CUIntMax -> CUIntMax -> CUIntMax -> [CUIntMax] Source # | |||||
| Storable CUIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CUIntMax -> Int Source # alignment :: CUIntMax -> Int Source # peekElemOff :: Ptr CUIntMax -> Int -> IO CUIntMax Source # pokeElemOff :: Ptr CUIntMax -> Int -> CUIntMax -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CUIntMax Source # pokeByteOff :: Ptr b -> Int -> CUIntMax -> IO () Source # | |||||
| Ix CUIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Num CUIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (+) :: CUIntMax -> CUIntMax -> CUIntMax Source # (-) :: CUIntMax -> CUIntMax -> CUIntMax Source # (*) :: CUIntMax -> CUIntMax -> CUIntMax Source # negate :: CUIntMax -> CUIntMax Source # abs :: CUIntMax -> CUIntMax Source # signum :: CUIntMax -> CUIntMax Source # fromInteger :: Integer -> CUIntMax Source # | |||||
| Read CUIntMax | |||||
| Integral CUIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods quot :: CUIntMax -> CUIntMax -> CUIntMax Source # rem :: CUIntMax -> CUIntMax -> CUIntMax Source # div :: CUIntMax -> CUIntMax -> CUIntMax Source # mod :: CUIntMax -> CUIntMax -> CUIntMax Source # quotRem :: CUIntMax -> CUIntMax -> (CUIntMax, CUIntMax) Source # divMod :: CUIntMax -> CUIntMax -> (CUIntMax, CUIntMax) Source # | |||||
| Real CUIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CUIntMax -> Rational Source # | |||||
| Show CUIntMax | |||||
| Eq CUIntMax | |||||
| Ord CUIntMax | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CUIntMax Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C clock_t type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| Integral CClock Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CClock Source # | |||||
| Additive CClock Source # | |||||
| Multiplicative CClock Source # | |||||
| Subtractive CClock Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Enum CClock | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CClock -> CClock Source # pred :: CClock -> CClock Source # toEnum :: Int -> CClock Source # fromEnum :: CClock -> Int Source # enumFrom :: CClock -> [CClock] Source # enumFromThen :: CClock -> CClock -> [CClock] Source # enumFromTo :: CClock -> CClock -> [CClock] Source # enumFromThenTo :: CClock -> CClock -> CClock -> [CClock] Source # | |||||
| Storable CClock | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CClock -> Int Source # alignment :: CClock -> Int Source # peekElemOff :: Ptr CClock -> Int -> IO CClock Source # pokeElemOff :: Ptr CClock -> Int -> CClock -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CClock Source # pokeByteOff :: Ptr b -> Int -> CClock -> IO () Source # | |||||
| Num CClock | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CClock | |||||
| Real CClock | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CClock -> Rational Source # | |||||
| Show CClock | |||||
| Eq CClock | |||||
| Ord CClock | |||||
| type Difference CClock Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C time_t type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| Integral CTime Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CTime Source # | |||||
| Additive CTime Source # | |||||
| Multiplicative CTime Source # | |||||
| Subtractive CTime Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Enum CTime | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CTime -> CTime Source # pred :: CTime -> CTime Source # toEnum :: Int -> CTime Source # fromEnum :: CTime -> Int Source # enumFrom :: CTime -> [CTime] Source # enumFromThen :: CTime -> CTime -> [CTime] Source # enumFromTo :: CTime -> CTime -> [CTime] Source # enumFromThenTo :: CTime -> CTime -> CTime -> [CTime] Source # | |||||
| Storable CTime | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CTime -> Int Source # alignment :: CTime -> Int Source # peekElemOff :: Ptr CTime -> Int -> IO CTime Source # pokeElemOff :: Ptr CTime -> Int -> CTime -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CTime Source # pokeByteOff :: Ptr b -> Int -> CTime -> IO () Source # | |||||
| Num CTime | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CTime | |||||
| Real CTime | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CTime -> Rational Source # | |||||
| Show CTime | |||||
| Eq CTime | |||||
| Ord CTime | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CTime Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C useconds_t type.
(The concrete types of Foreign.C.Types are platform-specific.)
Since: base-4.4.0.0
Instances
| Integral CUSeconds Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CUSeconds Source # | |||||
| Additive CUSeconds Source # | |||||
| Multiplicative CUSeconds Source # | |||||
| Subtractive CUSeconds Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Enum CUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CUSeconds -> CUSeconds Source # pred :: CUSeconds -> CUSeconds Source # toEnum :: Int -> CUSeconds Source # fromEnum :: CUSeconds -> Int Source # enumFrom :: CUSeconds -> [CUSeconds] Source # enumFromThen :: CUSeconds -> CUSeconds -> [CUSeconds] Source # enumFromTo :: CUSeconds -> CUSeconds -> [CUSeconds] Source # enumFromThenTo :: CUSeconds -> CUSeconds -> CUSeconds -> [CUSeconds] Source # | |||||
| Storable CUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CUSeconds -> Int Source # alignment :: CUSeconds -> Int Source # peekElemOff :: Ptr CUSeconds -> Int -> IO CUSeconds Source # pokeElemOff :: Ptr CUSeconds -> Int -> CUSeconds -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CUSeconds Source # pokeByteOff :: Ptr b -> Int -> CUSeconds -> IO () Source # | |||||
| Num CUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (+) :: CUSeconds -> CUSeconds -> CUSeconds Source # (-) :: CUSeconds -> CUSeconds -> CUSeconds Source # (*) :: CUSeconds -> CUSeconds -> CUSeconds Source # negate :: CUSeconds -> CUSeconds Source # abs :: CUSeconds -> CUSeconds Source # signum :: CUSeconds -> CUSeconds Source # fromInteger :: Integer -> CUSeconds Source # | |||||
| Read CUSeconds | |||||
| Real CUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CUSeconds -> Rational Source # | |||||
| Show CUSeconds | |||||
| Eq CUSeconds | |||||
| Ord CUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CUSeconds Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
newtype CSUSeconds Source #
Haskell type representing the C suseconds_t type.
(The concrete types of Foreign.C.Types are platform-specific.)
Since: base-4.4.0.0
Constructors
| CSUSeconds Int64 |
Instances
| Integral CSUSeconds Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CSUSeconds Source # | |||||
| Additive CSUSeconds Source # | |||||
Defined in Basement.Numerical.Additive Methods azero :: CSUSeconds Source # (+) :: CSUSeconds -> CSUSeconds -> CSUSeconds Source # scale :: IsNatural n => n -> CSUSeconds -> CSUSeconds Source # | |||||
| Multiplicative CSUSeconds Source # | |||||
Defined in Basement.Numerical.Multiplicative Methods midentity :: CSUSeconds Source # (*) :: CSUSeconds -> CSUSeconds -> CSUSeconds Source # (^) :: (IsNatural n, Enum n, IDivisible n) => CSUSeconds -> n -> CSUSeconds Source # | |||||
| Subtractive CSUSeconds Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
Methods (-) :: CSUSeconds -> CSUSeconds -> Difference CSUSeconds Source # | |||||
| Enum CSUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CSUSeconds -> CSUSeconds Source # pred :: CSUSeconds -> CSUSeconds Source # toEnum :: Int -> CSUSeconds Source # fromEnum :: CSUSeconds -> Int Source # enumFrom :: CSUSeconds -> [CSUSeconds] Source # enumFromThen :: CSUSeconds -> CSUSeconds -> [CSUSeconds] Source # enumFromTo :: CSUSeconds -> CSUSeconds -> [CSUSeconds] Source # enumFromThenTo :: CSUSeconds -> CSUSeconds -> CSUSeconds -> [CSUSeconds] Source # | |||||
| Storable CSUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CSUSeconds -> Int Source # alignment :: CSUSeconds -> Int Source # peekElemOff :: Ptr CSUSeconds -> Int -> IO CSUSeconds Source # pokeElemOff :: Ptr CSUSeconds -> Int -> CSUSeconds -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CSUSeconds Source # pokeByteOff :: Ptr b -> Int -> CSUSeconds -> IO () Source # peek :: Ptr CSUSeconds -> IO CSUSeconds Source # poke :: Ptr CSUSeconds -> CSUSeconds -> IO () Source # | |||||
| Num CSUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (+) :: CSUSeconds -> CSUSeconds -> CSUSeconds Source # (-) :: CSUSeconds -> CSUSeconds -> CSUSeconds Source # (*) :: CSUSeconds -> CSUSeconds -> CSUSeconds Source # negate :: CSUSeconds -> CSUSeconds Source # abs :: CSUSeconds -> CSUSeconds Source # signum :: CSUSeconds -> CSUSeconds Source # fromInteger :: Integer -> CSUSeconds Source # | |||||
| Read CSUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Real CSUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CSUSeconds -> Rational Source # | |||||
| Show CSUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Eq CSUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types Methods (==) :: CSUSeconds -> CSUSeconds -> Bool Source # (/=) :: CSUSeconds -> CSUSeconds -> Bool Source # | |||||
| Ord CSUSeconds | |||||
Defined in GHC.Internal.Foreign.C.Types Methods compare :: CSUSeconds -> CSUSeconds -> Ordering Source # (<) :: CSUSeconds -> CSUSeconds -> Bool Source # (<=) :: CSUSeconds -> CSUSeconds -> Bool Source # (>) :: CSUSeconds -> CSUSeconds -> Bool Source # (>=) :: CSUSeconds -> CSUSeconds -> Bool Source # max :: CSUSeconds -> CSUSeconds -> CSUSeconds Source # min :: CSUSeconds -> CSUSeconds -> CSUSeconds Source # | |||||
| type Difference CSUSeconds Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C float type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| Fractional CFloat Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromRational :: Rational -> CFloat Source # | |||||
| HasNegation CFloat Source # | |||||
| Integral CFloat Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CFloat Source # | |||||
| NormalForm CFloat Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CFloat -> () Source # | |||||
| Additive CFloat Source # | |||||
| Divisible CFloat Source # | |||||
| Multiplicative CFloat Source # | |||||
| Subtractive CFloat Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Enum CFloat | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CFloat -> CFloat Source # pred :: CFloat -> CFloat Source # toEnum :: Int -> CFloat Source # fromEnum :: CFloat -> Int Source # enumFrom :: CFloat -> [CFloat] Source # enumFromThen :: CFloat -> CFloat -> [CFloat] Source # enumFromTo :: CFloat -> CFloat -> [CFloat] Source # enumFromThenTo :: CFloat -> CFloat -> CFloat -> [CFloat] Source # | |||||
| Floating CFloat | |||||
Defined in GHC.Internal.Foreign.C.Types Methods exp :: CFloat -> CFloat Source # log :: CFloat -> CFloat Source # sqrt :: CFloat -> CFloat Source # (**) :: CFloat -> CFloat -> CFloat Source # logBase :: CFloat -> CFloat -> CFloat Source # sin :: CFloat -> CFloat Source # cos :: CFloat -> CFloat Source # tan :: CFloat -> CFloat Source # asin :: CFloat -> CFloat Source # acos :: CFloat -> CFloat Source # atan :: CFloat -> CFloat Source # sinh :: CFloat -> CFloat Source # cosh :: CFloat -> CFloat Source # tanh :: CFloat -> CFloat Source # asinh :: CFloat -> CFloat Source # acosh :: CFloat -> CFloat Source # atanh :: CFloat -> CFloat Source # log1p :: CFloat -> CFloat Source # expm1 :: CFloat -> CFloat Source # | |||||
| RealFloat CFloat | |||||
Defined in GHC.Internal.Foreign.C.Types Methods floatRadix :: CFloat -> Integer Source # floatDigits :: CFloat -> Int Source # floatRange :: CFloat -> (Int, Int) Source # decodeFloat :: CFloat -> (Integer, Int) Source # encodeFloat :: Integer -> Int -> CFloat Source # exponent :: CFloat -> Int Source # significand :: CFloat -> CFloat Source # scaleFloat :: Int -> CFloat -> CFloat Source # isNaN :: CFloat -> Bool Source # isInfinite :: CFloat -> Bool Source # isDenormalized :: CFloat -> Bool Source # isNegativeZero :: CFloat -> Bool Source # | |||||
| Storable CFloat | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CFloat -> Int Source # alignment :: CFloat -> Int Source # peekElemOff :: Ptr CFloat -> Int -> IO CFloat Source # pokeElemOff :: Ptr CFloat -> Int -> CFloat -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CFloat Source # pokeByteOff :: Ptr b -> Int -> CFloat -> IO () Source # | |||||
| Num CFloat | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CFloat | |||||
| Fractional CFloat | |||||
| Real CFloat | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CFloat -> Rational Source # | |||||
| RealFrac CFloat | |||||
| Show CFloat | |||||
| Eq CFloat | |||||
| Ord CFloat | |||||
| type Difference CFloat Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Haskell type representing the C double type.
(The concrete types of Foreign.C.Types are platform-specific.)
Instances
| Fractional CDouble Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromRational :: Rational -> CDouble Source # | |||||
| HasNegation CDouble Source # | |||||
| Integral CDouble Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CDouble Source # | |||||
| NormalForm CDouble Source # | |||||
Defined in Basement.NormalForm Methods toNormalForm :: CDouble -> () Source # | |||||
| Additive CDouble Source # | |||||
| Divisible CDouble Source # | |||||
| Multiplicative CDouble Source # | |||||
| Subtractive CDouble Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Enum CDouble | |||||
Defined in GHC.Internal.Foreign.C.Types Methods succ :: CDouble -> CDouble Source # pred :: CDouble -> CDouble Source # toEnum :: Int -> CDouble Source # fromEnum :: CDouble -> Int Source # enumFrom :: CDouble -> [CDouble] Source # enumFromThen :: CDouble -> CDouble -> [CDouble] Source # enumFromTo :: CDouble -> CDouble -> [CDouble] Source # enumFromThenTo :: CDouble -> CDouble -> CDouble -> [CDouble] Source # | |||||
| Floating CDouble | |||||
Defined in GHC.Internal.Foreign.C.Types Methods exp :: CDouble -> CDouble Source # log :: CDouble -> CDouble Source # sqrt :: CDouble -> CDouble Source # (**) :: CDouble -> CDouble -> CDouble Source # logBase :: CDouble -> CDouble -> CDouble Source # sin :: CDouble -> CDouble Source # cos :: CDouble -> CDouble Source # tan :: CDouble -> CDouble Source # asin :: CDouble -> CDouble Source # acos :: CDouble -> CDouble Source # atan :: CDouble -> CDouble Source # sinh :: CDouble -> CDouble Source # cosh :: CDouble -> CDouble Source # tanh :: CDouble -> CDouble Source # asinh :: CDouble -> CDouble Source # acosh :: CDouble -> CDouble Source # atanh :: CDouble -> CDouble Source # log1p :: CDouble -> CDouble Source # expm1 :: CDouble -> CDouble Source # | |||||
| RealFloat CDouble | |||||
Defined in GHC.Internal.Foreign.C.Types Methods floatRadix :: CDouble -> Integer Source # floatDigits :: CDouble -> Int Source # floatRange :: CDouble -> (Int, Int) Source # decodeFloat :: CDouble -> (Integer, Int) Source # encodeFloat :: Integer -> Int -> CDouble Source # exponent :: CDouble -> Int Source # significand :: CDouble -> CDouble Source # scaleFloat :: Int -> CDouble -> CDouble Source # isNaN :: CDouble -> Bool Source # isInfinite :: CDouble -> Bool Source # isDenormalized :: CDouble -> Bool Source # isNegativeZero :: CDouble -> Bool Source # | |||||
| Storable CDouble | |||||
Defined in GHC.Internal.Foreign.C.Types Methods sizeOf :: CDouble -> Int Source # alignment :: CDouble -> Int Source # peekElemOff :: Ptr CDouble -> Int -> IO CDouble Source # pokeElemOff :: Ptr CDouble -> Int -> CDouble -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CDouble Source # pokeByteOff :: Ptr b -> Int -> CDouble -> IO () Source # | |||||
| Num CDouble | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| Read CDouble | |||||
| Fractional CDouble | |||||
| Real CDouble | |||||
Defined in GHC.Internal.Foreign.C.Types Methods toRational :: CDouble -> Rational Source # | |||||
| RealFrac CDouble | |||||
| Show CDouble | |||||
| Eq CDouble | |||||
| Ord CDouble | |||||
Defined in GHC.Internal.Foreign.C.Types | |||||
| type Difference CDouble Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Instances
| Integral COff Source # | |||||
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> COff Source # | |||||
| Additive COff Source # | |||||
| Multiplicative COff Source # | |||||
| Subtractive COff Source # | |||||
Defined in Basement.Numerical.Subtractive Associated Types
| |||||
| Bits COff | |||||
Defined in GHC.Internal.System.Posix.Types Methods (.&.) :: COff -> COff -> COff Source # (.|.) :: COff -> COff -> COff Source # xor :: COff -> COff -> COff Source # complement :: COff -> COff Source # shift :: COff -> Int -> COff Source # rotate :: COff -> Int -> COff Source # setBit :: COff -> Int -> COff Source # clearBit :: COff -> Int -> COff Source # complementBit :: COff -> Int -> COff Source # testBit :: COff -> Int -> Bool Source # bitSizeMaybe :: COff -> Maybe Int Source # bitSize :: COff -> Int Source # isSigned :: COff -> Bool Source # shiftL :: COff -> Int -> COff Source # unsafeShiftL :: COff -> Int -> COff Source # shiftR :: COff -> Int -> COff Source # unsafeShiftR :: COff -> Int -> COff Source # rotateL :: COff -> Int -> COff Source # | |||||
| FiniteBits COff | |||||
Defined in GHC.Internal.System.Posix.Types Methods finiteBitSize :: COff -> Int Source # countLeadingZeros :: COff -> Int Source # countTrailingZeros :: COff -> Int Source # | |||||
| Bounded COff | |||||
| Enum COff | |||||
| Storable COff | |||||
Defined in GHC.Internal.System.Posix.Types Methods sizeOf :: COff -> Int Source # alignment :: COff -> Int Source # peekElemOff :: Ptr COff -> Int -> IO COff Source # pokeElemOff :: Ptr COff -> Int -> COff -> IO () Source # peekByteOff :: Ptr b -> Int -> IO COff Source # pokeByteOff :: Ptr b -> Int -> COff -> IO () Source # | |||||
| Ix COff | |||||
Defined in GHC.Internal.System.Posix.Types | |||||
| Num COff | |||||
| Read COff | |||||
| Integral COff | |||||
Defined in GHC.Internal.System.Posix.Types | |||||
| Real COff | |||||
Defined in GHC.Internal.System.Posix.Types Methods toRational :: COff -> Rational Source # | |||||
| Show COff | |||||
| Eq COff | |||||
| Ord COff | |||||
Defined in GHC.Internal.System.Posix.Types | |||||
| type Difference COff Source # | |||||
Defined in Basement.Numerical.Subtractive | |||||
Instances
| Bits CMode | |
Defined in GHC.Internal.System.Posix.Types Methods (.&.) :: CMode -> CMode -> CMode Source # (.|.) :: CMode -> CMode -> CMode Source # xor :: CMode -> CMode -> CMode Source # complement :: CMode -> CMode Source # shift :: CMode -> Int -> CMode Source # rotate :: CMode -> Int -> CMode Source # setBit :: CMode -> Int -> CMode Source # clearBit :: CMode -> Int -> CMode Source # complementBit :: CMode -> Int -> CMode Source # testBit :: CMode -> Int -> Bool Source # bitSizeMaybe :: CMode -> Maybe Int Source # bitSize :: CMode -> Int Source # isSigned :: CMode -> Bool Source # shiftL :: CMode -> Int -> CMode Source # unsafeShiftL :: CMode -> Int -> CMode Source # shiftR :: CMode -> Int -> CMode Source # unsafeShiftR :: CMode -> Int -> CMode Source # rotateL :: CMode -> Int -> CMode Source # | |
| FiniteBits CMode | |
Defined in GHC.Internal.System.Posix.Types Methods finiteBitSize :: CMode -> Int Source # countLeadingZeros :: CMode -> Int Source # countTrailingZeros :: CMode -> Int Source # | |
| Bounded CMode | |
| Enum CMode | |
Defined in GHC.Internal.System.Posix.Types Methods succ :: CMode -> CMode Source # pred :: CMode -> CMode Source # toEnum :: Int -> CMode Source # fromEnum :: CMode -> Int Source # enumFrom :: CMode -> [CMode] Source # enumFromThen :: CMode -> CMode -> [CMode] Source # enumFromTo :: CMode -> CMode -> [CMode] Source # enumFromThenTo :: CMode -> CMode -> CMode -> [CMode] Source # | |
| Storable CMode | |
Defined in GHC.Internal.System.Posix.Types Methods sizeOf :: CMode -> Int Source # alignment :: CMode -> Int Source # peekElemOff :: Ptr CMode -> Int -> IO CMode Source # pokeElemOff :: Ptr CMode -> Int -> CMode -> IO () Source # peekByteOff :: Ptr b -> Int -> IO CMode Source # pokeByteOff :: Ptr b -> Int -> CMode -> IO () Source # | |
| Ix CMode | |
Defined in GHC.Internal.System.Posix.Types | |
| Num CMode | |
Defined in GHC.Internal.System.Posix.Types | |
| Read CMode | |
| Integral CMode | |
Defined in GHC.Internal.System.Posix.Types | |
| Real CMode | |
Defined in GHC.Internal.System.Posix.Types Methods toRational :: CMode -> Rational Source # | |
| Show CMode | |
| Eq CMode | |
| Ord CMode | |
Defined in GHC.Internal.System.Posix.Types | |