basement-0.0.14: Foundation scrap box of array & string
LicenseBSD-style
MaintainerFoundation
Safe HaskellSafe
LanguageHaskell2010

Basement.Compat.C.Types

Description

Literal support for Integral and Fractional {--} {--}

Documentation

newtype CChar #

Constructors

CChar Word8 

Instances

Instances details
Bounded CChar 
Instance details

Defined in Foreign.C.Types

Enum CChar 
Instance details

Defined in Foreign.C.Types

Eq CChar 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CChar -> CChar -> Bool #

(/=) :: CChar -> CChar -> Bool #

Integral CChar 
Instance details

Defined in Foreign.C.Types

Num CChar 
Instance details

Defined in Foreign.C.Types

Ord CChar 
Instance details

Defined in Foreign.C.Types

Methods

compare :: CChar -> CChar -> Ordering #

(<) :: CChar -> CChar -> Bool #

(<=) :: CChar -> CChar -> Bool #

(>) :: CChar -> CChar -> Bool #

(>=) :: CChar -> CChar -> Bool #

max :: CChar -> CChar -> CChar #

min :: CChar -> CChar -> CChar #

Read CChar 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CChar

readList :: ReadS [CChar]

readPrec :: ReadPrec CChar

readListPrec :: ReadPrec [CChar]

Real CChar 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CChar -> Rational

Show CChar 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CChar -> ShowS #

show :: CChar -> String #

showList :: [CChar] -> ShowS #

Bits CChar 
Instance details

Defined in Foreign.C.Types

FiniteBits CChar 
Instance details

Defined in Foreign.C.Types

Storable CChar 
Instance details

Defined in Foreign.C.Types

Methods

sizeOf :: CChar -> Int

alignment :: CChar -> Int

peekElemOff :: Ptr CChar -> Int -> IO CChar

pokeElemOff :: Ptr CChar -> Int -> CChar -> IO ()

peekByteOff :: Ptr b -> Int -> IO CChar

pokeByteOff :: Ptr b -> Int -> CChar -> IO ()

peek :: Ptr CChar -> IO CChar

poke :: Ptr CChar -> CChar -> IO ()

HasNegation CChar Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Methods

negate :: CChar -> CChar Source #

Integral CChar Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CChar Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CChar Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CChar Source #

Additive CChar Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CChar Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CChar Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

PrimMemoryComparable CChar Source # 
Instance details

Defined in Basement.PrimType

PrimType CChar Source # 
Instance details

Defined in Basement.PrimType

Associated Types

type PrimSize CChar :: Nat Source #

Methods

primSizeInBytes :: Proxy CChar -> CountOf Word8 Source #

primShiftToBytes :: Proxy CChar -> Int Source #

primBaUIndex :: ByteArray# -> Offset CChar -> CChar Source #

primMbaURead :: PrimMonad prim => MutableByteArray# (PrimState prim) -> Offset CChar -> prim CChar Source #

primMbaUWrite :: PrimMonad prim => MutableByteArray# (PrimState prim) -> Offset CChar -> CChar -> prim () Source #

primAddrIndex :: Addr# -> Offset CChar -> CChar Source #

primAddrRead :: PrimMonad prim => Addr# -> Offset CChar -> prim CChar Source #

primAddrWrite :: PrimMonad prim => Addr# -> Offset CChar -> CChar -> prim () Source #

NormalForm CChar Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CChar -> () Source #

type Difference CChar Source # 
Instance details

Defined in Basement.Numerical.Subtractive

type PrimSize CChar Source # 
Instance details

Defined in Basement.PrimType

type PrimSize CChar = 1

newtype CSChar #

Constructors

CSChar Int8 

Instances

Instances details
Bounded CSChar 
Instance details

Defined in Foreign.C.Types

Enum CSChar 
Instance details

Defined in Foreign.C.Types

Eq CSChar 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CSChar -> CSChar -> Bool #

(/=) :: CSChar -> CSChar -> Bool #

Integral CSChar 
Instance details

Defined in Foreign.C.Types

Num CSChar 
Instance details

Defined in Foreign.C.Types

Ord CSChar 
Instance details

Defined in Foreign.C.Types

Read CSChar 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CSChar

readList :: ReadS [CSChar]

readPrec :: ReadPrec CSChar

readListPrec :: ReadPrec [CSChar]

Real CSChar 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CSChar -> Rational

Show CSChar 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CSChar -> ShowS #

show :: CSChar -> String #

showList :: [CSChar] -> ShowS #

Bits CSChar 
Instance details

Defined in Foreign.C.Types

FiniteBits CSChar 
Instance details

Defined in Foreign.C.Types

Storable CSChar 
Instance details

Defined in Foreign.C.Types

HasNegation CSChar Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Methods

negate :: CSChar -> CSChar Source #

Integral CSChar Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CSChar Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CSChar Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CSChar Source #

Additive CSChar Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CSChar Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CSChar Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

NormalForm CSChar Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CSChar -> () Source #

type Difference CSChar Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CUChar #

Constructors

CUChar Word8 

Instances

Instances details
Bounded CUChar 
Instance details

Defined in Foreign.C.Types

Enum CUChar 
Instance details

Defined in Foreign.C.Types

Eq CUChar 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CUChar -> CUChar -> Bool #

(/=) :: CUChar -> CUChar -> Bool #

Integral CUChar 
Instance details

Defined in Foreign.C.Types

Num CUChar 
Instance details

Defined in Foreign.C.Types

Ord CUChar 
Instance details

Defined in Foreign.C.Types

Read CUChar 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUChar

readList :: ReadS [CUChar]

readPrec :: ReadPrec CUChar

readListPrec :: ReadPrec [CUChar]

Real CUChar 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CUChar -> Rational

Show CUChar 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CUChar -> ShowS #

show :: CUChar -> String #

showList :: [CUChar] -> ShowS #

Bits CUChar 
Instance details

Defined in Foreign.C.Types

FiniteBits CUChar 
Instance details

Defined in Foreign.C.Types

Storable CUChar 
Instance details

Defined in Foreign.C.Types

Integral CUChar Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsNatural CUChar Source # 
Instance details

Defined in Basement.Numerical.Number

IsIntegral CUChar Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CUChar Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CUChar Source #

Additive CUChar Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CUChar Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CUChar Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

PrimMemoryComparable CUChar Source # 
Instance details

Defined in Basement.PrimType

PrimType CUChar Source # 
Instance details

Defined in Basement.PrimType

Associated Types

type PrimSize CUChar :: Nat Source #

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 #

NormalForm CUChar Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CUChar -> () Source #

type Difference CUChar Source # 
Instance details

Defined in Basement.Numerical.Subtractive

type PrimSize CUChar Source # 
Instance details

Defined in Basement.PrimType

type PrimSize CUChar = 1

newtype CShort #

Constructors

CShort Int16 

Instances

Instances details
Bounded CShort 
Instance details

Defined in Foreign.C.Types

Enum CShort 
Instance details

Defined in Foreign.C.Types

Eq CShort 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CShort -> CShort -> Bool #

(/=) :: CShort -> CShort -> Bool #

Integral CShort 
Instance details

Defined in Foreign.C.Types

Num CShort 
Instance details

Defined in Foreign.C.Types

Ord CShort 
Instance details

Defined in Foreign.C.Types

Read CShort 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CShort

readList :: ReadS [CShort]

readPrec :: ReadPrec CShort

readListPrec :: ReadPrec [CShort]

Real CShort 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CShort -> Rational

Show CShort 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CShort -> ShowS #

show :: CShort -> String #

showList :: [CShort] -> ShowS #

Bits CShort 
Instance details

Defined in Foreign.C.Types

FiniteBits CShort 
Instance details

Defined in Foreign.C.Types

Storable CShort 
Instance details

Defined in Foreign.C.Types

HasNegation CShort Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Methods

negate :: CShort -> CShort Source #

Integral CShort Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CShort Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CShort Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CShort Source #

Additive CShort Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CShort Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CShort Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

NormalForm CShort Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CShort -> () Source #

type Difference CShort Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CUShort #

Constructors

CUShort Word16 

Instances

Instances details
Bounded CUShort 
Instance details

Defined in Foreign.C.Types

Enum CUShort 
Instance details

Defined in Foreign.C.Types

Eq CUShort 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CUShort -> CUShort -> Bool #

(/=) :: CUShort -> CUShort -> Bool #

Integral CUShort 
Instance details

Defined in Foreign.C.Types

Num CUShort 
Instance details

Defined in Foreign.C.Types

Ord CUShort 
Instance details

Defined in Foreign.C.Types

Read CUShort 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUShort

readList :: ReadS [CUShort]

readPrec :: ReadPrec CUShort

readListPrec :: ReadPrec [CUShort]

Real CUShort 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CUShort -> Rational

Show CUShort 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CUShort -> ShowS #

show :: CUShort -> String #

showList :: [CUShort] -> ShowS #

Bits CUShort 
Instance details

Defined in Foreign.C.Types

FiniteBits CUShort 
Instance details

Defined in Foreign.C.Types

Storable CUShort 
Instance details

Defined in Foreign.C.Types

Integral CUShort Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsNatural CUShort Source # 
Instance details

Defined in Basement.Numerical.Number

IsIntegral CUShort Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CUShort Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CUShort Source #

Additive CUShort Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CUShort Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CUShort Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

NormalForm CUShort Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CUShort -> () Source #

type Difference CUShort Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CInt #

Constructors

CInt Int32 

Instances

Instances details
Bounded CInt 
Instance details

Defined in Foreign.C.Types

Enum CInt 
Instance details

Defined in Foreign.C.Types

Methods

succ :: CInt -> CInt #

pred :: CInt -> CInt #

toEnum :: Int -> CInt #

fromEnum :: CInt -> Int #

enumFrom :: CInt -> [CInt] #

enumFromThen :: CInt -> CInt -> [CInt] #

enumFromTo :: CInt -> CInt -> [CInt] #

enumFromThenTo :: CInt -> CInt -> CInt -> [CInt] #

Eq CInt 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CInt -> CInt -> Bool #

(/=) :: CInt -> CInt -> Bool #

Integral CInt 
Instance details

Defined in Foreign.C.Types

Methods

quot :: CInt -> CInt -> CInt

rem :: CInt -> CInt -> CInt

div :: CInt -> CInt -> CInt

mod :: CInt -> CInt -> CInt

quotRem :: CInt -> CInt -> (CInt, CInt)

divMod :: CInt -> CInt -> (CInt, CInt)

toInteger :: CInt -> Integer

Num CInt 
Instance details

Defined in Foreign.C.Types

Methods

(+) :: CInt -> CInt -> CInt

(-) :: CInt -> CInt -> CInt

(*) :: CInt -> CInt -> CInt

negate :: CInt -> CInt

abs :: CInt -> CInt

signum :: CInt -> CInt

fromInteger :: Integer -> CInt

Ord CInt 
Instance details

Defined in Foreign.C.Types

Methods

compare :: CInt -> CInt -> Ordering #

(<) :: CInt -> CInt -> Bool #

(<=) :: CInt -> CInt -> Bool #

(>) :: CInt -> CInt -> Bool #

(>=) :: CInt -> CInt -> Bool #

max :: CInt -> CInt -> CInt #

min :: CInt -> CInt -> CInt #

Read CInt 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CInt

readList :: ReadS [CInt]

readPrec :: ReadPrec CInt

readListPrec :: ReadPrec [CInt]

Real CInt 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CInt -> Rational

Show CInt 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CInt -> ShowS #

show :: CInt -> String #

showList :: [CInt] -> ShowS #

Bits CInt 
Instance details

Defined in Foreign.C.Types

FiniteBits CInt 
Instance details

Defined in Foreign.C.Types

Storable CInt 
Instance details

Defined in Foreign.C.Types

Methods

sizeOf :: CInt -> Int

alignment :: CInt -> Int

peekElemOff :: Ptr CInt -> Int -> IO CInt

pokeElemOff :: Ptr CInt -> Int -> CInt -> IO ()

peekByteOff :: Ptr b -> Int -> IO CInt

pokeByteOff :: Ptr b -> Int -> CInt -> IO ()

peek :: Ptr CInt -> IO CInt

poke :: Ptr CInt -> CInt -> IO ()

HasNegation CInt Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Methods

negate :: CInt -> CInt Source #

Integral CInt Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CInt Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CInt Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CInt Source #

Methods

(-) :: CInt -> CInt -> Difference CInt Source #

Additive CInt Source # 
Instance details

Defined in Basement.Numerical.Additive

Methods

azero :: CInt Source #

(+) :: CInt -> CInt -> CInt Source #

scale :: IsNatural n => n -> CInt -> CInt Source #

IDivisible CInt Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Methods

div :: CInt -> CInt -> CInt Source #

mod :: CInt -> CInt -> CInt Source #

divMod :: CInt -> CInt -> (CInt, CInt) Source #

Multiplicative CInt Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Methods

midentity :: CInt Source #

(*) :: CInt -> CInt -> CInt Source #

(^) :: (IsNatural n, Enum n, IDivisible n) => CInt -> n -> CInt Source #

NormalForm CInt Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CInt -> () Source #

type Difference CInt Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CUInt #

Constructors

CUInt Word32 

Instances

Instances details
Bounded CUInt 
Instance details

Defined in Foreign.C.Types

Enum CUInt 
Instance details

Defined in Foreign.C.Types

Eq CUInt 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CUInt -> CUInt -> Bool #

(/=) :: CUInt -> CUInt -> Bool #

Integral CUInt 
Instance details

Defined in Foreign.C.Types

Num CUInt 
Instance details

Defined in Foreign.C.Types

Ord CUInt 
Instance details

Defined in Foreign.C.Types

Methods

compare :: CUInt -> CUInt -> Ordering #

(<) :: CUInt -> CUInt -> Bool #

(<=) :: CUInt -> CUInt -> Bool #

(>) :: CUInt -> CUInt -> Bool #

(>=) :: CUInt -> CUInt -> Bool #

max :: CUInt -> CUInt -> CUInt #

min :: CUInt -> CUInt -> CUInt #

Read CUInt 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUInt

readList :: ReadS [CUInt]

readPrec :: ReadPrec CUInt

readListPrec :: ReadPrec [CUInt]

Real CUInt 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CUInt -> Rational

Show CUInt 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CUInt -> ShowS #

show :: CUInt -> String #

showList :: [CUInt] -> ShowS #

Bits CUInt 
Instance details

Defined in Foreign.C.Types

FiniteBits CUInt 
Instance details

Defined in Foreign.C.Types

Storable CUInt 
Instance details

Defined in Foreign.C.Types

Methods

sizeOf :: CUInt -> Int

alignment :: CUInt -> Int

peekElemOff :: Ptr CUInt -> Int -> IO CUInt

pokeElemOff :: Ptr CUInt -> Int -> CUInt -> IO ()

peekByteOff :: Ptr b -> Int -> IO CUInt

pokeByteOff :: Ptr b -> Int -> CUInt -> IO ()

peek :: Ptr CUInt -> IO CUInt

poke :: Ptr CUInt -> CUInt -> IO ()

Integral CUInt Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsNatural CUInt Source # 
Instance details

Defined in Basement.Numerical.Number

IsIntegral CUInt Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CUInt Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CUInt Source #

Additive CUInt Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CUInt Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CUInt Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

NormalForm CUInt Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CUInt -> () Source #

type Difference CUInt Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CLong #

Constructors

CLong Int64 

Instances

Instances details
Bounded CLong 
Instance details

Defined in Foreign.C.Types

Enum CLong 
Instance details

Defined in Foreign.C.Types

Eq CLong 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CLong -> CLong -> Bool #

(/=) :: CLong -> CLong -> Bool #

Integral CLong 
Instance details

Defined in Foreign.C.Types

Num CLong 
Instance details

Defined in Foreign.C.Types

Ord CLong 
Instance details

Defined in Foreign.C.Types

Methods

compare :: CLong -> CLong -> Ordering #

(<) :: CLong -> CLong -> Bool #

(<=) :: CLong -> CLong -> Bool #

(>) :: CLong -> CLong -> Bool #

(>=) :: CLong -> CLong -> Bool #

max :: CLong -> CLong -> CLong #

min :: CLong -> CLong -> CLong #

Read CLong 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CLong

readList :: ReadS [CLong]

readPrec :: ReadPrec CLong

readListPrec :: ReadPrec [CLong]

Real CLong 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CLong -> Rational

Show CLong 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CLong -> ShowS #

show :: CLong -> String #

showList :: [CLong] -> ShowS #

Bits CLong 
Instance details

Defined in Foreign.C.Types

FiniteBits CLong 
Instance details

Defined in Foreign.C.Types

Storable CLong 
Instance details

Defined in Foreign.C.Types

Methods

sizeOf :: CLong -> Int

alignment :: CLong -> Int

peekElemOff :: Ptr CLong -> Int -> IO CLong

pokeElemOff :: Ptr CLong -> Int -> CLong -> IO ()

peekByteOff :: Ptr b -> Int -> IO CLong

pokeByteOff :: Ptr b -> Int -> CLong -> IO ()

peek :: Ptr CLong -> IO CLong

poke :: Ptr CLong -> CLong -> IO ()

HasNegation CLong Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Methods

negate :: CLong -> CLong Source #

Integral CLong Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CLong Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CLong Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CLong Source #

Additive CLong Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CLong Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CLong Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

NormalForm CLong Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CLong -> () Source #

type Difference CLong Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CULong #

Constructors

CULong Word64 

Instances

Instances details
Bounded CULong 
Instance details

Defined in Foreign.C.Types

Enum CULong 
Instance details

Defined in Foreign.C.Types

Eq CULong 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CULong -> CULong -> Bool #

(/=) :: CULong -> CULong -> Bool #

Integral CULong 
Instance details

Defined in Foreign.C.Types

Num CULong 
Instance details

Defined in Foreign.C.Types

Ord CULong 
Instance details

Defined in Foreign.C.Types

Read CULong 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CULong

readList :: ReadS [CULong]

readPrec :: ReadPrec CULong

readListPrec :: ReadPrec [CULong]

Real CULong 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CULong -> Rational

Show CULong 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CULong -> ShowS #

show :: CULong -> String #

showList :: [CULong] -> ShowS #

Bits CULong 
Instance details

Defined in Foreign.C.Types

FiniteBits CULong 
Instance details

Defined in Foreign.C.Types

Storable CULong 
Instance details

Defined in Foreign.C.Types

Integral CULong Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsNatural CULong Source # 
Instance details

Defined in Basement.Numerical.Number

IsIntegral CULong Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CULong Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CULong Source #

Additive CULong Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CULong Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CULong Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

NormalForm CULong Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CULong -> () Source #

type Difference CULong Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CPtrdiff #

Constructors

CPtrdiff Int64 

Instances

Instances details
Bounded CPtrdiff 
Instance details

Defined in Foreign.C.Types

Enum CPtrdiff 
Instance details

Defined in Foreign.C.Types

Eq CPtrdiff 
Instance details

Defined in Foreign.C.Types

Integral CPtrdiff 
Instance details

Defined in Foreign.C.Types

Num CPtrdiff 
Instance details

Defined in Foreign.C.Types

Ord CPtrdiff 
Instance details

Defined in Foreign.C.Types

Read CPtrdiff 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CPtrdiff

readList :: ReadS [CPtrdiff]

readPrec :: ReadPrec CPtrdiff

readListPrec :: ReadPrec [CPtrdiff]

Real CPtrdiff 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CPtrdiff -> Rational

Show CPtrdiff 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CPtrdiff -> ShowS #

show :: CPtrdiff -> String #

showList :: [CPtrdiff] -> ShowS #

Bits CPtrdiff 
Instance details

Defined in Foreign.C.Types

FiniteBits CPtrdiff 
Instance details

Defined in Foreign.C.Types

Storable CPtrdiff 
Instance details

Defined in Foreign.C.Types

HasNegation CPtrdiff Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Integral CPtrdiff Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CPtrdiff Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CPtrdiff Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CPtrdiff Source #

Additive CPtrdiff Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CPtrdiff Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CPtrdiff Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CPtrdiff Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CSize #

Constructors

CSize Word64 

Instances

Instances details
Bounded CSize 
Instance details

Defined in Foreign.C.Types

Enum CSize 
Instance details

Defined in Foreign.C.Types

Eq CSize 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CSize -> CSize -> Bool #

(/=) :: CSize -> CSize -> Bool #

Integral CSize 
Instance details

Defined in Foreign.C.Types

Num CSize 
Instance details

Defined in Foreign.C.Types

Ord CSize 
Instance details

Defined in Foreign.C.Types

Methods

compare :: CSize -> CSize -> Ordering #

(<) :: CSize -> CSize -> Bool #

(<=) :: CSize -> CSize -> Bool #

(>) :: CSize -> CSize -> Bool #

(>=) :: CSize -> CSize -> Bool #

max :: CSize -> CSize -> CSize #

min :: CSize -> CSize -> CSize #

Read CSize 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CSize

readList :: ReadS [CSize]

readPrec :: ReadPrec CSize

readListPrec :: ReadPrec [CSize]

Real CSize 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CSize -> Rational

Show CSize 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CSize -> ShowS #

show :: CSize -> String #

showList :: [CSize] -> ShowS #

Bits CSize 
Instance details

Defined in Foreign.C.Types

FiniteBits CSize 
Instance details

Defined in Foreign.C.Types

Storable CSize 
Instance details

Defined in Foreign.C.Types

Methods

sizeOf :: CSize -> Int

alignment :: CSize -> Int

peekElemOff :: Ptr CSize -> Int -> IO CSize

pokeElemOff :: Ptr CSize -> Int -> CSize -> IO ()

peekByteOff :: Ptr b -> Int -> IO CSize

pokeByteOff :: Ptr b -> Int -> CSize -> IO ()

peek :: Ptr CSize -> IO CSize

poke :: Ptr CSize -> CSize -> IO ()

Integral CSize Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsNatural CSize Source # 
Instance details

Defined in Basement.Numerical.Number

IsIntegral CSize Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CSize Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CSize Source #

Additive CSize Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CSize Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CSize Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CSize Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CWchar #

Constructors

CWchar Int32 

Instances

Instances details
Bounded CWchar 
Instance details

Defined in Foreign.C.Types

Enum CWchar 
Instance details

Defined in Foreign.C.Types

Eq CWchar 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CWchar -> CWchar -> Bool #

(/=) :: CWchar -> CWchar -> Bool #

Integral CWchar 
Instance details

Defined in Foreign.C.Types

Num CWchar 
Instance details

Defined in Foreign.C.Types

Ord CWchar 
Instance details

Defined in Foreign.C.Types

Read CWchar 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CWchar

readList :: ReadS [CWchar]

readPrec :: ReadPrec CWchar

readListPrec :: ReadPrec [CWchar]

Real CWchar 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CWchar -> Rational

Show CWchar 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CWchar -> ShowS #

show :: CWchar -> String #

showList :: [CWchar] -> ShowS #

Bits CWchar 
Instance details

Defined in Foreign.C.Types

FiniteBits CWchar 
Instance details

Defined in Foreign.C.Types

Storable CWchar 
Instance details

Defined in Foreign.C.Types

HasNegation CWchar Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Methods

negate :: CWchar -> CWchar Source #

Integral CWchar Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CWchar Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CWchar Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CWchar Source #

Additive CWchar Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CWchar Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CWchar Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CWchar Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CSigAtomic #

Constructors

CSigAtomic Int32 

Instances

Instances details
Bounded CSigAtomic 
Instance details

Defined in Foreign.C.Types

Enum CSigAtomic 
Instance details

Defined in Foreign.C.Types

Eq CSigAtomic 
Instance details

Defined in Foreign.C.Types

Integral CSigAtomic 
Instance details

Defined in Foreign.C.Types

Num CSigAtomic 
Instance details

Defined in Foreign.C.Types

Ord CSigAtomic 
Instance details

Defined in Foreign.C.Types

Read CSigAtomic 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CSigAtomic

readList :: ReadS [CSigAtomic]

readPrec :: ReadPrec CSigAtomic

readListPrec :: ReadPrec [CSigAtomic]

Real CSigAtomic 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CSigAtomic -> Rational

Show CSigAtomic 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CSigAtomic -> ShowS #

show :: CSigAtomic -> String #

showList :: [CSigAtomic] -> ShowS #

Bits CSigAtomic 
Instance details

Defined in Foreign.C.Types

FiniteBits CSigAtomic 
Instance details

Defined in Foreign.C.Types

Storable CSigAtomic 
Instance details

Defined in Foreign.C.Types

Integral CSigAtomic Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CSigAtomic Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CSigAtomic Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CSigAtomic Source #

Additive CSigAtomic Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CSigAtomic Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CSigAtomic Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CSigAtomic Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CLLong #

Constructors

CLLong Int64 

Instances

Instances details
Bounded CLLong 
Instance details

Defined in Foreign.C.Types

Enum CLLong 
Instance details

Defined in Foreign.C.Types

Eq CLLong 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CLLong -> CLLong -> Bool #

(/=) :: CLLong -> CLLong -> Bool #

Integral CLLong 
Instance details

Defined in Foreign.C.Types

Num CLLong 
Instance details

Defined in Foreign.C.Types

Ord CLLong 
Instance details

Defined in Foreign.C.Types

Read CLLong 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CLLong

readList :: ReadS [CLLong]

readPrec :: ReadPrec CLLong

readListPrec :: ReadPrec [CLLong]

Real CLLong 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CLLong -> Rational

Show CLLong 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CLLong -> ShowS #

show :: CLLong -> String #

showList :: [CLLong] -> ShowS #

Bits CLLong 
Instance details

Defined in Foreign.C.Types

FiniteBits CLLong 
Instance details

Defined in Foreign.C.Types

Storable CLLong 
Instance details

Defined in Foreign.C.Types

HasNegation CLLong Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Methods

negate :: CLLong -> CLLong Source #

Integral CLLong Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CLLong Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CLLong Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CLLong Source #

Additive CLLong Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CLLong Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CLLong Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

NormalForm CLLong Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CLLong -> () Source #

type Difference CLLong Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CULLong #

Constructors

CULLong Word64 

Instances

Instances details
Bounded CULLong 
Instance details

Defined in Foreign.C.Types

Enum CULLong 
Instance details

Defined in Foreign.C.Types

Eq CULLong 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CULLong -> CULLong -> Bool #

(/=) :: CULLong -> CULLong -> Bool #

Integral CULLong 
Instance details

Defined in Foreign.C.Types

Num CULLong 
Instance details

Defined in Foreign.C.Types

Ord CULLong 
Instance details

Defined in Foreign.C.Types

Read CULLong 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CULLong

readList :: ReadS [CULLong]

readPrec :: ReadPrec CULLong

readListPrec :: ReadPrec [CULLong]

Real CULLong 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CULLong -> Rational

Show CULLong 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CULLong -> ShowS #

show :: CULLong -> String #

showList :: [CULLong] -> ShowS #

Bits CULLong 
Instance details

Defined in Foreign.C.Types

FiniteBits CULLong 
Instance details

Defined in Foreign.C.Types

Storable CULLong 
Instance details

Defined in Foreign.C.Types

Integral CULLong Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsNatural CULLong Source # 
Instance details

Defined in Basement.Numerical.Number

IsIntegral CULLong Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CULLong Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CULLong Source #

Additive CULLong Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CULLong Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CULLong Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

NormalForm CULLong Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CULLong -> () Source #

type Difference CULLong Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CBool #

Constructors

CBool Word8 

Instances

Instances details
Bounded CBool 
Instance details

Defined in Foreign.C.Types

Enum CBool 
Instance details

Defined in Foreign.C.Types

Eq CBool 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CBool -> CBool -> Bool #

(/=) :: CBool -> CBool -> Bool #

Integral CBool 
Instance details

Defined in Foreign.C.Types

Num CBool 
Instance details

Defined in Foreign.C.Types

Ord CBool 
Instance details

Defined in Foreign.C.Types

Methods

compare :: CBool -> CBool -> Ordering #

(<) :: CBool -> CBool -> Bool #

(<=) :: CBool -> CBool -> Bool #

(>) :: CBool -> CBool -> Bool #

(>=) :: CBool -> CBool -> Bool #

max :: CBool -> CBool -> CBool #

min :: CBool -> CBool -> CBool #

Read CBool 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CBool

readList :: ReadS [CBool]

readPrec :: ReadPrec CBool

readListPrec :: ReadPrec [CBool]

Real CBool 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CBool -> Rational

Show CBool 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CBool -> ShowS #

show :: CBool -> String #

showList :: [CBool] -> ShowS #

Bits CBool 
Instance details

Defined in Foreign.C.Types

FiniteBits CBool 
Instance details

Defined in Foreign.C.Types

Storable CBool 
Instance details

Defined in Foreign.C.Types

Methods

sizeOf :: CBool -> Int

alignment :: CBool -> Int

peekElemOff :: Ptr CBool -> Int -> IO CBool

pokeElemOff :: Ptr CBool -> Int -> CBool -> IO ()

peekByteOff :: Ptr b -> Int -> IO CBool

pokeByteOff :: Ptr b -> Int -> CBool -> IO ()

peek :: Ptr CBool -> IO CBool

poke :: Ptr CBool -> CBool -> IO ()

Integral CBool Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CBool Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CBool Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CBool Source #

type Difference CBool Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CIntPtr #

Constructors

CIntPtr Int64 

Instances

Instances details
Bounded CIntPtr 
Instance details

Defined in Foreign.C.Types

Enum CIntPtr 
Instance details

Defined in Foreign.C.Types

Eq CIntPtr 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CIntPtr -> CIntPtr -> Bool #

(/=) :: CIntPtr -> CIntPtr -> Bool #

Integral CIntPtr 
Instance details

Defined in Foreign.C.Types

Num CIntPtr 
Instance details

Defined in Foreign.C.Types

Ord CIntPtr 
Instance details

Defined in Foreign.C.Types

Read CIntPtr 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CIntPtr

readList :: ReadS [CIntPtr]

readPrec :: ReadPrec CIntPtr

readListPrec :: ReadPrec [CIntPtr]

Real CIntPtr 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CIntPtr -> Rational

Show CIntPtr 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CIntPtr -> ShowS #

show :: CIntPtr -> String #

showList :: [CIntPtr] -> ShowS #

Bits CIntPtr 
Instance details

Defined in Foreign.C.Types

FiniteBits CIntPtr 
Instance details

Defined in Foreign.C.Types

Storable CIntPtr 
Instance details

Defined in Foreign.C.Types

Integral CIntPtr Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CIntPtr Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CIntPtr Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CIntPtr Source #

Additive CIntPtr Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CIntPtr Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CIntPtr Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CIntPtr Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CUIntPtr #

Constructors

CUIntPtr Word64 

Instances

Instances details
Bounded CUIntPtr 
Instance details

Defined in Foreign.C.Types

Enum CUIntPtr 
Instance details

Defined in Foreign.C.Types

Eq CUIntPtr 
Instance details

Defined in Foreign.C.Types

Integral CUIntPtr 
Instance details

Defined in Foreign.C.Types

Num CUIntPtr 
Instance details

Defined in Foreign.C.Types

Ord CUIntPtr 
Instance details

Defined in Foreign.C.Types

Read CUIntPtr 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUIntPtr

readList :: ReadS [CUIntPtr]

readPrec :: ReadPrec CUIntPtr

readListPrec :: ReadPrec [CUIntPtr]

Real CUIntPtr 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CUIntPtr -> Rational

Show CUIntPtr 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CUIntPtr -> ShowS #

show :: CUIntPtr -> String #

showList :: [CUIntPtr] -> ShowS #

Bits CUIntPtr 
Instance details

Defined in Foreign.C.Types

FiniteBits CUIntPtr 
Instance details

Defined in Foreign.C.Types

Storable CUIntPtr 
Instance details

Defined in Foreign.C.Types

Integral CUIntPtr Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsNatural CUIntPtr Source # 
Instance details

Defined in Basement.Numerical.Number

IsIntegral CUIntPtr Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CUIntPtr Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CUIntPtr Source #

Additive CUIntPtr Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CUIntPtr Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CUIntPtr Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CUIntPtr Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CIntMax #

Constructors

CIntMax Int64 

Instances

Instances details
Bounded CIntMax 
Instance details

Defined in Foreign.C.Types

Enum CIntMax 
Instance details

Defined in Foreign.C.Types

Eq CIntMax 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CIntMax -> CIntMax -> Bool #

(/=) :: CIntMax -> CIntMax -> Bool #

Integral CIntMax 
Instance details

Defined in Foreign.C.Types

Num CIntMax 
Instance details

Defined in Foreign.C.Types

Ord CIntMax 
Instance details

Defined in Foreign.C.Types

Read CIntMax 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CIntMax

readList :: ReadS [CIntMax]

readPrec :: ReadPrec CIntMax

readListPrec :: ReadPrec [CIntMax]

Real CIntMax 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CIntMax -> Rational

Show CIntMax 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CIntMax -> ShowS #

show :: CIntMax -> String #

showList :: [CIntMax] -> ShowS #

Bits CIntMax 
Instance details

Defined in Foreign.C.Types

FiniteBits CIntMax 
Instance details

Defined in Foreign.C.Types

Storable CIntMax 
Instance details

Defined in Foreign.C.Types

HasNegation CIntMax Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Integral CIntMax Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsIntegral CIntMax Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CIntMax Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CIntMax Source #

Additive CIntMax Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CIntMax Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CIntMax Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CIntMax Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CUIntMax #

Constructors

CUIntMax Word64 

Instances

Instances details
Bounded CUIntMax 
Instance details

Defined in Foreign.C.Types

Enum CUIntMax 
Instance details

Defined in Foreign.C.Types

Eq CUIntMax 
Instance details

Defined in Foreign.C.Types

Integral CUIntMax 
Instance details

Defined in Foreign.C.Types

Num CUIntMax 
Instance details

Defined in Foreign.C.Types

Ord CUIntMax 
Instance details

Defined in Foreign.C.Types

Read CUIntMax 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUIntMax

readList :: ReadS [CUIntMax]

readPrec :: ReadPrec CUIntMax

readListPrec :: ReadPrec [CUIntMax]

Real CUIntMax 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CUIntMax -> Rational

Show CUIntMax 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CUIntMax -> ShowS #

show :: CUIntMax -> String #

showList :: [CUIntMax] -> ShowS #

Bits CUIntMax 
Instance details

Defined in Foreign.C.Types

FiniteBits CUIntMax 
Instance details

Defined in Foreign.C.Types

Storable CUIntMax 
Instance details

Defined in Foreign.C.Types

Integral CUIntMax Source # 
Instance details

Defined in Basement.Compat.NumLiteral

IsNatural CUIntMax Source # 
Instance details

Defined in Basement.Numerical.Number

IsIntegral CUIntMax Source # 
Instance details

Defined in Basement.Numerical.Number

Subtractive CUIntMax Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CUIntMax Source #

Additive CUIntMax Source # 
Instance details

Defined in Basement.Numerical.Additive

IDivisible CUIntMax Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Multiplicative CUIntMax Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CUIntMax Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CClock #

Constructors

CClock Int64 

Instances

Instances details
Enum CClock 
Instance details

Defined in Foreign.C.Types

Eq CClock 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CClock -> CClock -> Bool #

(/=) :: CClock -> CClock -> Bool #

Num CClock 
Instance details

Defined in Foreign.C.Types

Ord CClock 
Instance details

Defined in Foreign.C.Types

Read CClock 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CClock

readList :: ReadS [CClock]

readPrec :: ReadPrec CClock

readListPrec :: ReadPrec [CClock]

Real CClock 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CClock -> Rational

Show CClock 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CClock -> ShowS #

show :: CClock -> String #

showList :: [CClock] -> ShowS #

Storable CClock 
Instance details

Defined in Foreign.C.Types

Integral CClock Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Subtractive CClock Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CClock Source #

Additive CClock Source # 
Instance details

Defined in Basement.Numerical.Additive

Multiplicative CClock Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CClock Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CTime #

Constructors

CTime Int64 

Instances

Instances details
Enum CTime 
Instance details

Defined in Foreign.C.Types

Eq CTime 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CTime -> CTime -> Bool #

(/=) :: CTime -> CTime -> Bool #

Num CTime 
Instance details

Defined in Foreign.C.Types

Ord CTime 
Instance details

Defined in Foreign.C.Types

Methods

compare :: CTime -> CTime -> Ordering #

(<) :: CTime -> CTime -> Bool #

(<=) :: CTime -> CTime -> Bool #

(>) :: CTime -> CTime -> Bool #

(>=) :: CTime -> CTime -> Bool #

max :: CTime -> CTime -> CTime #

min :: CTime -> CTime -> CTime #

Read CTime 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CTime

readList :: ReadS [CTime]

readPrec :: ReadPrec CTime

readListPrec :: ReadPrec [CTime]

Real CTime 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CTime -> Rational

Show CTime 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CTime -> ShowS #

show :: CTime -> String #

showList :: [CTime] -> ShowS #

Storable CTime 
Instance details

Defined in Foreign.C.Types

Methods

sizeOf :: CTime -> Int

alignment :: CTime -> Int

peekElemOff :: Ptr CTime -> Int -> IO CTime

pokeElemOff :: Ptr CTime -> Int -> CTime -> IO ()

peekByteOff :: Ptr b -> Int -> IO CTime

pokeByteOff :: Ptr b -> Int -> CTime -> IO ()

peek :: Ptr CTime -> IO CTime

poke :: Ptr CTime -> CTime -> IO ()

Integral CTime Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Subtractive CTime Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CTime Source #

Additive CTime Source # 
Instance details

Defined in Basement.Numerical.Additive

Multiplicative CTime Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CTime Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CUSeconds #

Constructors

CUSeconds Word32 

Instances

Instances details
Enum CUSeconds 
Instance details

Defined in Foreign.C.Types

Eq CUSeconds 
Instance details

Defined in Foreign.C.Types

Num CUSeconds 
Instance details

Defined in Foreign.C.Types

Ord CUSeconds 
Instance details

Defined in Foreign.C.Types

Read CUSeconds 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CUSeconds

readList :: ReadS [CUSeconds]

readPrec :: ReadPrec CUSeconds

readListPrec :: ReadPrec [CUSeconds]

Real CUSeconds 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CUSeconds -> Rational

Show CUSeconds 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CUSeconds -> ShowS #

show :: CUSeconds -> String #

showList :: [CUSeconds] -> ShowS #

Storable CUSeconds 
Instance details

Defined in Foreign.C.Types

Integral CUSeconds Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Subtractive CUSeconds Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CUSeconds Source #

Additive CUSeconds Source # 
Instance details

Defined in Basement.Numerical.Additive

Multiplicative CUSeconds Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CUSeconds Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CSUSeconds #

Constructors

CSUSeconds Int64 

Instances

Instances details
Enum CSUSeconds 
Instance details

Defined in Foreign.C.Types

Eq CSUSeconds 
Instance details

Defined in Foreign.C.Types

Num CSUSeconds 
Instance details

Defined in Foreign.C.Types

Ord CSUSeconds 
Instance details

Defined in Foreign.C.Types

Read CSUSeconds 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CSUSeconds

readList :: ReadS [CSUSeconds]

readPrec :: ReadPrec CSUSeconds

readListPrec :: ReadPrec [CSUSeconds]

Real CSUSeconds 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CSUSeconds -> Rational

Show CSUSeconds 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CSUSeconds -> ShowS #

show :: CSUSeconds -> String #

showList :: [CSUSeconds] -> ShowS #

Storable CSUSeconds 
Instance details

Defined in Foreign.C.Types

Integral CSUSeconds Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Subtractive CSUSeconds Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CSUSeconds Source #

Additive CSUSeconds Source # 
Instance details

Defined in Basement.Numerical.Additive

Multiplicative CSUSeconds Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

type Difference CSUSeconds Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CFloat #

Constructors

CFloat Float 

Instances

Instances details
Enum CFloat 
Instance details

Defined in Foreign.C.Types

Eq CFloat 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CFloat -> CFloat -> Bool #

(/=) :: CFloat -> CFloat -> Bool #

Floating CFloat 
Instance details

Defined in Foreign.C.Types

Fractional CFloat 
Instance details

Defined in Foreign.C.Types

Methods

(/) :: CFloat -> CFloat -> CFloat

recip :: CFloat -> CFloat

fromRational :: Rational -> CFloat

Num CFloat 
Instance details

Defined in Foreign.C.Types

Ord CFloat 
Instance details

Defined in Foreign.C.Types

Read CFloat 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CFloat

readList :: ReadS [CFloat]

readPrec :: ReadPrec CFloat

readListPrec :: ReadPrec [CFloat]

Real CFloat 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CFloat -> Rational

RealFloat CFloat 
Instance details

Defined in Foreign.C.Types

RealFrac CFloat 
Instance details

Defined in Foreign.C.Types

Methods

properFraction :: Integral b => CFloat -> (b, CFloat)

truncate :: Integral b => CFloat -> b

round :: Integral b => CFloat -> b

ceiling :: Integral b => CFloat -> b

floor :: Integral b => CFloat -> b

Show CFloat 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CFloat -> ShowS #

show :: CFloat -> String #

showList :: [CFloat] -> ShowS #

Storable CFloat 
Instance details

Defined in Foreign.C.Types

HasNegation CFloat Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Methods

negate :: CFloat -> CFloat Source #

Fractional CFloat Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Methods

fromRational :: Rational -> CFloat Source #

Integral CFloat Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Subtractive CFloat Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CFloat Source #

Additive CFloat Source # 
Instance details

Defined in Basement.Numerical.Additive

Divisible CFloat Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Methods

(/) :: CFloat -> CFloat -> CFloat Source #

Multiplicative CFloat Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

NormalForm CFloat Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CFloat -> () Source #

type Difference CFloat Source # 
Instance details

Defined in Basement.Numerical.Subtractive

data CDouble #

Instances

Instances details
Enum CDouble 
Instance details

Defined in Foreign.C.Types

Eq CDouble 
Instance details

Defined in Foreign.C.Types

Methods

(==) :: CDouble -> CDouble -> Bool #

(/=) :: CDouble -> CDouble -> Bool #

Floating CDouble 
Instance details

Defined in Foreign.C.Types

Fractional CDouble 
Instance details

Defined in Foreign.C.Types

Methods

(/) :: CDouble -> CDouble -> CDouble

recip :: CDouble -> CDouble

fromRational :: Rational -> CDouble

Num CDouble 
Instance details

Defined in Foreign.C.Types

Ord CDouble 
Instance details

Defined in Foreign.C.Types

Read CDouble 
Instance details

Defined in Foreign.C.Types

Methods

readsPrec :: Int -> ReadS CDouble

readList :: ReadS [CDouble]

readPrec :: ReadPrec CDouble

readListPrec :: ReadPrec [CDouble]

Real CDouble 
Instance details

Defined in Foreign.C.Types

Methods

toRational :: CDouble -> Rational

RealFloat CDouble 
Instance details

Defined in Foreign.C.Types

RealFrac CDouble 
Instance details

Defined in Foreign.C.Types

Methods

properFraction :: Integral b => CDouble -> (b, CDouble)

truncate :: Integral b => CDouble -> b

round :: Integral b => CDouble -> b

ceiling :: Integral b => CDouble -> b

floor :: Integral b => CDouble -> b

Show CDouble 
Instance details

Defined in Foreign.C.Types

Methods

showsPrec :: Int -> CDouble -> ShowS #

show :: CDouble -> String #

showList :: [CDouble] -> ShowS #

Storable CDouble 
Instance details

Defined in Foreign.C.Types

HasNegation CDouble Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Fractional CDouble Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Methods

fromRational :: Rational -> CDouble Source #

Integral CDouble Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Subtractive CDouble Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference CDouble Source #

Additive CDouble Source # 
Instance details

Defined in Basement.Numerical.Additive

Divisible CDouble Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Methods

(/) :: CDouble -> CDouble -> CDouble Source #

Multiplicative CDouble Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

NormalForm CDouble Source # 
Instance details

Defined in Basement.NormalForm

Methods

toNormalForm :: CDouble -> () Source #

type Difference CDouble Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype COff #

Constructors

COff Int64 

Instances

Instances details
Bounded COff 
Instance details

Defined in System.Posix.Types

Enum COff 
Instance details

Defined in System.Posix.Types

Methods

succ :: COff -> COff #

pred :: COff -> COff #

toEnum :: Int -> COff #

fromEnum :: COff -> Int #

enumFrom :: COff -> [COff] #

enumFromThen :: COff -> COff -> [COff] #

enumFromTo :: COff -> COff -> [COff] #

enumFromThenTo :: COff -> COff -> COff -> [COff] #

Eq COff 
Instance details

Defined in System.Posix.Types

Methods

(==) :: COff -> COff -> Bool #

(/=) :: COff -> COff -> Bool #

Integral COff 
Instance details

Defined in System.Posix.Types

Methods

quot :: COff -> COff -> COff

rem :: COff -> COff -> COff

div :: COff -> COff -> COff

mod :: COff -> COff -> COff

quotRem :: COff -> COff -> (COff, COff)

divMod :: COff -> COff -> (COff, COff)

toInteger :: COff -> Integer

Num COff 
Instance details

Defined in System.Posix.Types

Methods

(+) :: COff -> COff -> COff

(-) :: COff -> COff -> COff

(*) :: COff -> COff -> COff

negate :: COff -> COff

abs :: COff -> COff

signum :: COff -> COff

fromInteger :: Integer -> COff

Ord COff 
Instance details

Defined in System.Posix.Types

Methods

compare :: COff -> COff -> Ordering #

(<) :: COff -> COff -> Bool #

(<=) :: COff -> COff -> Bool #

(>) :: COff -> COff -> Bool #

(>=) :: COff -> COff -> Bool #

max :: COff -> COff -> COff #

min :: COff -> COff -> COff #

Read COff 
Instance details

Defined in System.Posix.Types

Methods

readsPrec :: Int -> ReadS COff

readList :: ReadS [COff]

readPrec :: ReadPrec COff

readListPrec :: ReadPrec [COff]

Real COff 
Instance details

Defined in System.Posix.Types

Methods

toRational :: COff -> Rational

Show COff 
Instance details

Defined in System.Posix.Types

Methods

showsPrec :: Int -> COff -> ShowS #

show :: COff -> String #

showList :: [COff] -> ShowS #

Bits COff 
Instance details

Defined in System.Posix.Types

FiniteBits COff 
Instance details

Defined in System.Posix.Types

Storable COff 
Instance details

Defined in System.Posix.Types

Methods

sizeOf :: COff -> Int

alignment :: COff -> Int

peekElemOff :: Ptr COff -> Int -> IO COff

pokeElemOff :: Ptr COff -> Int -> COff -> IO ()

peekByteOff :: Ptr b -> Int -> IO COff

pokeByteOff :: Ptr b -> Int -> COff -> IO ()

peek :: Ptr COff -> IO COff

poke :: Ptr COff -> COff -> IO ()

Integral COff Source # 
Instance details

Defined in Basement.Compat.NumLiteral

Subtractive COff Source # 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference COff Source #

Methods

(-) :: COff -> COff -> Difference COff Source #

Additive COff Source # 
Instance details

Defined in Basement.Numerical.Additive

Methods

azero :: COff Source #

(+) :: COff -> COff -> COff Source #

scale :: IsNatural n => n -> COff -> COff Source #

Multiplicative COff Source # 
Instance details

Defined in Basement.Numerical.Multiplicative

Methods

midentity :: COff Source #

(*) :: COff -> COff -> COff Source #

(^) :: (IsNatural n, Enum n, IDivisible n) => COff -> n -> COff Source #

type Difference COff Source # 
Instance details

Defined in Basement.Numerical.Subtractive

newtype CMode #

Constructors

CMode Word32 

Instances

Instances details
Bounded CMode 
Instance details

Defined in System.Posix.Types

Enum CMode 
Instance details

Defined in System.Posix.Types

Eq CMode 
Instance details

Defined in System.Posix.Types

Methods

(==) :: CMode -> CMode -> Bool #

(/=) :: CMode -> CMode -> Bool #

Integral CMode 
Instance details

Defined in System.Posix.Types

Num CMode 
Instance details

Defined in System.Posix.Types

Ord CMode 
Instance details

Defined in System.Posix.Types

Methods

compare :: CMode -> CMode -> Ordering #

(<) :: CMode -> CMode -> Bool #

(<=) :: CMode -> CMode -> Bool #

(>) :: CMode -> CMode -> Bool #

(>=) :: CMode -> CMode -> Bool #

max :: CMode -> CMode -> CMode #

min :: CMode -> CMode -> CMode #

Read CMode 
Instance details

Defined in System.Posix.Types

Methods

readsPrec :: Int -> ReadS CMode

readList :: ReadS [CMode]

readPrec :: ReadPrec CMode

readListPrec :: ReadPrec [CMode]

Real CMode 
Instance details

Defined in System.Posix.Types

Methods

toRational :: CMode -> Rational

Show CMode 
Instance details

Defined in System.Posix.Types

Methods

showsPrec :: Int -> CMode -> ShowS #

show :: CMode -> String #

showList :: [CMode] -> ShowS #

Bits CMode 
Instance details

Defined in System.Posix.Types

FiniteBits CMode 
Instance details

Defined in System.Posix.Types

Storable CMode 
Instance details

Defined in System.Posix.Types

Methods

sizeOf :: CMode -> Int

alignment :: CMode -> Int

peekElemOff :: Ptr CMode -> Int -> IO CMode

pokeElemOff :: Ptr CMode -> Int -> CMode -> IO ()

peekByteOff :: Ptr b -> Int -> IO CMode

pokeByteOff :: Ptr b -> Int -> CMode -> IO ()

peek :: Ptr CMode -> IO CMode

poke :: Ptr CMode -> CMode -> IO ()