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 #-}
Documentation
Instances
Instances
Instances
Instances
Instances
Instances
Bounded CInt | |
Enum CInt | |
Eq CInt | |
Integral CInt | |
Num CInt | |
Ord CInt | |
Read CInt | |
Defined in Foreign.C.Types | |
Real CInt | |
Defined in Foreign.C.Types Methods toRational :: CInt -> Rational | |
Show CInt | |
Bits CInt | |
Defined in Foreign.C.Types | |
FiniteBits CInt | |
Defined in Foreign.C.Types Methods finiteBitSize :: CInt -> Int countLeadingZeros :: CInt -> Int countTrailingZeros :: CInt -> Int | |
Storable CInt | |
Defined in Foreign.C.Types | |
HasNegation CInt # | |
Defined in Basement.Compat.NumLiteral | |
Integral CInt # | |
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CInt # | |
IsIntegral CInt # | |
Defined in Basement.Numerical.Number | |
Subtractive CInt # | |
Defined in Basement.Numerical.Subtractive Associated Types type Difference CInt # | |
Additive CInt # | |
IDivisible CInt # | |
Multiplicative CInt # | |
NormalForm CInt # | |
Defined in Basement.NormalForm Methods toNormalForm :: CInt -> () # | |
type Difference CInt # | |
Defined in Basement.Numerical.Subtractive |
Instances
Instances
Instances
Instances
Instances
Instances
newtype CSigAtomic #
Constructors
CSigAtomic Int32 |
Instances
Instances
Instances
Instances
Instances
Instances
Instances
Instances
Instances
Enum CClock | |
Defined in Foreign.C.Types | |
Eq CClock | |
Num CClock | |
Ord CClock | |
Read CClock | |
Defined in Foreign.C.Types | |
Real CClock | |
Defined in Foreign.C.Types Methods toRational :: CClock -> Rational | |
Show CClock | |
Storable CClock | |
Integral CClock # | |
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CClock # | |
Subtractive CClock # | |
Defined in Basement.Numerical.Subtractive Associated Types type Difference CClock # | |
Additive CClock # | |
Multiplicative CClock # | |
type Difference CClock # | |
Defined in Basement.Numerical.Subtractive |
Instances
Enum CTime | |
Defined in Foreign.C.Types | |
Eq CTime | |
Num CTime | |
Ord CTime | |
Read CTime | |
Defined in Foreign.C.Types | |
Real CTime | |
Defined in Foreign.C.Types Methods toRational :: CTime -> Rational | |
Show CTime | |
Storable CTime | |
Defined in Foreign.C.Types | |
Integral CTime # | |
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CTime # | |
Subtractive CTime # | |
Defined in Basement.Numerical.Subtractive Associated Types type Difference CTime # | |
Additive CTime # | |
Multiplicative CTime # | |
type Difference CTime # | |
Defined in Basement.Numerical.Subtractive |
Instances
Enum CUSeconds | |
Defined in Foreign.C.Types Methods succ :: CUSeconds -> CUSeconds # pred :: CUSeconds -> CUSeconds # fromEnum :: CUSeconds -> Int # enumFrom :: CUSeconds -> [CUSeconds] # enumFromThen :: CUSeconds -> CUSeconds -> [CUSeconds] # enumFromTo :: CUSeconds -> CUSeconds -> [CUSeconds] # enumFromThenTo :: CUSeconds -> CUSeconds -> CUSeconds -> [CUSeconds] # | |
Eq CUSeconds | |
Num CUSeconds | |
Ord CUSeconds | |
Read CUSeconds | |
Defined in Foreign.C.Types | |
Real CUSeconds | |
Defined in Foreign.C.Types Methods toRational :: CUSeconds -> Rational | |
Show CUSeconds | |
Storable CUSeconds | |
Integral CUSeconds # | |
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> CUSeconds # | |
Subtractive CUSeconds # | |
Defined in Basement.Numerical.Subtractive Associated Types type Difference CUSeconds # | |
Additive CUSeconds # | |
Multiplicative CUSeconds # | |
type Difference CUSeconds # | |
Defined in Basement.Numerical.Subtractive |
newtype CSUSeconds #
Constructors
CSUSeconds Int32 |
Instances
Instances
Instances
Instances
Bounded COff | |
Enum COff | |
Eq COff | |
Integral COff | |
Num COff | |
Ord COff | |
Read COff | |
Defined in System.Posix.Types | |
Real COff | |
Defined in System.Posix.Types Methods toRational :: COff -> Rational | |
Show COff | |
Bits COff | |
Defined in System.Posix.Types | |
FiniteBits COff | |
Defined in System.Posix.Types Methods finiteBitSize :: COff -> Int countLeadingZeros :: COff -> Int countTrailingZeros :: COff -> Int | |
Storable COff | |
Defined in System.Posix.Types | |
Integral COff # | |
Defined in Basement.Compat.NumLiteral Methods fromInteger :: Integer -> COff # | |
Subtractive COff # | |
Defined in Basement.Numerical.Subtractive Associated Types type Difference COff # | |
Additive COff # | |
Multiplicative COff # | |
type Difference COff # | |
Defined in Basement.Numerical.Subtractive |
Instances
Bounded CMode | |
Enum CMode | |
Defined in System.Posix.Types | |
Eq CMode | |
Integral CMode | |
Num CMode | |
Ord CMode | |
Read CMode | |
Defined in System.Posix.Types | |
Real CMode | |
Defined in System.Posix.Types Methods toRational :: CMode -> Rational | |
Show CMode | |
Bits CMode | |
Defined in System.Posix.Types Methods (.&.) :: CMode -> CMode -> CMode (.|.) :: CMode -> CMode -> CMode xor :: CMode -> CMode -> CMode complement :: CMode -> CMode shift :: CMode -> Int -> CMode rotate :: CMode -> Int -> CMode setBit :: CMode -> Int -> CMode clearBit :: CMode -> Int -> CMode complementBit :: CMode -> Int -> CMode testBit :: CMode -> Int -> Bool bitSizeMaybe :: CMode -> Maybe Int shiftL :: CMode -> Int -> CMode unsafeShiftL :: CMode -> Int -> CMode shiftR :: CMode -> Int -> CMode unsafeShiftR :: CMode -> Int -> CMode rotateL :: CMode -> Int -> CMode | |
FiniteBits CMode | |
Defined in System.Posix.Types Methods finiteBitSize :: CMode -> Int countLeadingZeros :: CMode -> Int countTrailingZeros :: CMode -> Int | |
Storable CMode | |
Defined in System.Posix.Types |