basement-0.0.7: Foundation scrap box of array & string

LicenseBSD-style
MaintainerFoundation
Safe HaskellSafe
LanguageHaskell2010

Basement.Compat.C.Types

Description

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

Synopsis

Documentation

newtype CChar #

Haskell type representing the C char type.

Constructors

CChar Int8 
Instances
Bounded CChar 
Instance details
Enum CChar 
Instance details
Eq CChar 
Instance details

Methods

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

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

Integral CChar 
Instance details
Num CChar 
Instance details
Ord CChar 
Instance details

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
Real CChar 
Instance details

Methods

toRational :: CChar -> Rational #

Show CChar 
Instance details

Methods

showsPrec :: Int -> CChar -> ShowS #

show :: CChar -> String #

showList :: [CChar] -> ShowS #

Storable CChar 
Instance details

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 () #

Bits CChar 
Instance details
FiniteBits CChar 
Instance details
HasNegation CChar Source # 
Instance details

Methods

negate :: CChar -> CChar Source #

Integral CChar Source # 
Instance details
IsIntegral CChar Source # 
Instance details
Subtractive CChar Source # 
Instance details

Associated Types

type Difference CChar :: * Source #

Additive CChar Source # 
Instance details
IDivisible CChar Source # 
Instance details
Multiplicative CChar Source # 
Instance details
PrimMemoryComparable CChar Source # 
Instance details
PrimType CChar Source # 
Instance details

Associated Types

type PrimSize CChar :: Nat Source #

NormalForm CChar Source # 
Instance details

Methods

toNormalForm :: CChar -> () Source #

type Difference CChar Source # 
Instance details
type PrimSize CChar Source # 
Instance details
type PrimSize CChar = 1

newtype CSChar #

Haskell type representing the C signed char type.

Constructors

CSChar Int8 
Instances
Bounded CSChar 
Instance details
Enum CSChar 
Instance details
Eq CSChar 
Instance details

Methods

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

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

Integral CSChar 
Instance details
Num CSChar 
Instance details
Ord CSChar 
Instance details
Read CSChar 
Instance details
Real CSChar 
Instance details
Show CSChar 
Instance details
Storable CSChar 
Instance details
Bits CSChar 
Instance details
FiniteBits CSChar 
Instance details
HasNegation CSChar Source # 
Instance details

Methods

negate :: CSChar -> CSChar Source #

Integral CSChar Source # 
Instance details
IsIntegral CSChar Source # 
Instance details
Subtractive CSChar Source # 
Instance details

Associated Types

type Difference CSChar :: * Source #

Additive CSChar Source # 
Instance details
IDivisible CSChar Source # 
Instance details
Multiplicative CSChar Source # 
Instance details
NormalForm CSChar Source # 
Instance details

Methods

toNormalForm :: CSChar -> () Source #

type Difference CSChar Source # 
Instance details

newtype CUChar #

Haskell type representing the C unsigned char type.

Constructors

CUChar Word8 
Instances
Bounded CUChar 
Instance details
Enum CUChar 
Instance details
Eq CUChar 
Instance details

Methods

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

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

Integral CUChar 
Instance details
Num CUChar 
Instance details
Ord CUChar 
Instance details
Read CUChar 
Instance details
Real CUChar 
Instance details
Show CUChar 
Instance details
Storable CUChar 
Instance details
Bits CUChar 
Instance details
FiniteBits CUChar 
Instance details
Integral CUChar Source # 
Instance details
IsNatural CUChar Source # 
Instance details
IsIntegral CUChar Source # 
Instance details
Subtractive CUChar Source # 
Instance details

Associated Types

type Difference CUChar :: * Source #

Additive CUChar Source # 
Instance details
IDivisible CUChar Source # 
Instance details
Multiplicative CUChar Source # 
Instance details
PrimMemoryComparable CUChar Source # 
Instance details
PrimType CUChar Source # 
Instance details

Associated Types

type PrimSize CUChar :: Nat Source #

NormalForm CUChar Source # 
Instance details

Methods

toNormalForm :: CUChar -> () Source #

type Difference CUChar Source # 
Instance details
type PrimSize CUChar Source # 
Instance details
type PrimSize CUChar = 1

newtype CShort #

Haskell type representing the C short type.

Constructors

CShort Int16 
Instances
Bounded CShort 
Instance details
Enum CShort 
Instance details
Eq CShort 
Instance details

Methods

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

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

Integral CShort 
Instance details
Num CShort 
Instance details
Ord CShort 
Instance details
Read CShort 
Instance details
Real CShort 
Instance details
Show CShort 
Instance details
Storable CShort 
Instance details
Bits CShort 
Instance details
FiniteBits CShort 
Instance details
HasNegation CShort Source # 
Instance details

Methods

negate :: CShort -> CShort Source #

Integral CShort Source # 
Instance details
IsIntegral CShort Source # 
Instance details
Subtractive CShort Source # 
Instance details

Associated Types

type Difference CShort :: * Source #

Additive CShort Source # 
Instance details
IDivisible CShort Source # 
Instance details
Multiplicative CShort Source # 
Instance details
NormalForm CShort Source # 
Instance details

Methods

toNormalForm :: CShort -> () Source #

type Difference CShort Source # 
Instance details

newtype CUShort #

Haskell type representing the C unsigned short type.

Constructors

CUShort Word16 
Instances
Bounded CUShort 
Instance details
Enum CUShort 
Instance details
Eq CUShort 
Instance details

Methods

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

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

Integral CUShort 
Instance details
Num CUShort 
Instance details
Ord CUShort 
Instance details
Read CUShort 
Instance details
Real CUShort 
Instance details
Show CUShort 
Instance details
Storable CUShort 
Instance details
Bits CUShort 
Instance details
FiniteBits CUShort 
Instance details
Integral CUShort Source # 
Instance details
IsNatural CUShort Source # 
Instance details
IsIntegral CUShort Source # 
Instance details
Subtractive CUShort Source # 
Instance details

Associated Types

type Difference CUShort :: * Source #

Additive CUShort Source # 
Instance details
IDivisible CUShort Source # 
Instance details
Multiplicative CUShort Source # 
Instance details
NormalForm CUShort Source # 
Instance details

Methods

toNormalForm :: CUShort -> () Source #

type Difference CUShort Source # 
Instance details

newtype CInt #

Haskell type representing the C int type.

Constructors

CInt Int32 
Instances
Bounded CInt 
Instance details
Enum CInt 
Instance details

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

Methods

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

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

Integral CInt 
Instance details

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

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

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
Real CInt 
Instance details

Methods

toRational :: CInt -> Rational #

Show CInt 
Instance details

Methods

showsPrec :: Int -> CInt -> ShowS #

show :: CInt -> String #

showList :: [CInt] -> ShowS #

Storable CInt 
Instance details

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 () #

Bits CInt 
Instance details
FiniteBits CInt 
Instance details
HasNegation CInt Source # 
Instance details

Methods

negate :: CInt -> CInt Source #

Integral CInt Source # 
Instance details
IsIntegral CInt Source # 
Instance details
Subtractive CInt Source # 
Instance details

Associated Types

type Difference CInt :: * Source #

Methods

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

Additive CInt Source # 
Instance details

Methods

azero :: CInt Source #

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

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

IDivisible CInt Source # 
Instance details

Methods

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

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

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

Multiplicative CInt Source # 
Instance details

Methods

midentity :: CInt Source #

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

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

NormalForm CInt Source # 
Instance details

Methods

toNormalForm :: CInt -> () Source #

type Difference CInt Source # 
Instance details

newtype CUInt #

Haskell type representing the C unsigned int type.

Constructors

CUInt Word32 
Instances
Bounded CUInt 
Instance details
Enum CUInt 
Instance details
Eq CUInt 
Instance details

Methods

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

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

Integral CUInt 
Instance details
Num CUInt 
Instance details
Ord CUInt 
Instance details

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
Real CUInt 
Instance details

Methods

toRational :: CUInt -> Rational #

Show CUInt 
Instance details

Methods

showsPrec :: Int -> CUInt -> ShowS #

show :: CUInt -> String #

showList :: [CUInt] -> ShowS #

Storable CUInt 
Instance details

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 () #

Bits CUInt 
Instance details
FiniteBits CUInt 
Instance details
Integral CUInt Source # 
Instance details
IsNatural CUInt Source # 
Instance details
IsIntegral CUInt Source # 
Instance details
Subtractive CUInt Source # 
Instance details

Associated Types

type Difference CUInt :: * Source #

Additive CUInt Source # 
Instance details
IDivisible CUInt Source # 
Instance details
Multiplicative CUInt Source # 
Instance details
NormalForm CUInt Source # 
Instance details

Methods

toNormalForm :: CUInt -> () Source #

type Difference CUInt Source # 
Instance details

newtype CLong #

Haskell type representing the C long type.

Constructors

CLong Int64 
Instances
Bounded CLong 
Instance details
Enum CLong 
Instance details
Eq CLong 
Instance details

Methods

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

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

Integral CLong 
Instance details
Num CLong 
Instance details
Ord CLong 
Instance details

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
Real CLong 
Instance details

Methods

toRational :: CLong -> Rational #

Show CLong 
Instance details

Methods

showsPrec :: Int -> CLong -> ShowS #

show :: CLong -> String #

showList :: [CLong] -> ShowS #

Storable CLong 
Instance details

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 () #

Bits CLong 
Instance details
FiniteBits CLong 
Instance details
HasNegation CLong Source # 
Instance details

Methods

negate :: CLong -> CLong Source #

Integral CLong Source # 
Instance details
IsIntegral CLong Source # 
Instance details
Subtractive CLong Source # 
Instance details

Associated Types

type Difference CLong :: * Source #

Additive CLong Source # 
Instance details
IDivisible CLong Source # 
Instance details
Multiplicative CLong Source # 
Instance details
NormalForm CLong Source # 
Instance details

Methods

toNormalForm :: CLong -> () Source #

type Difference CLong Source # 
Instance details

newtype CULong #

Haskell type representing the C unsigned long type.

Constructors

CULong Word64 
Instances
Bounded CULong 
Instance details
Enum CULong 
Instance details
Eq CULong 
Instance details

Methods

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

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

Integral CULong 
Instance details
Num CULong 
Instance details
Ord CULong 
Instance details
Read CULong 
Instance details
Real CULong 
Instance details
Show CULong 
Instance details
Storable CULong 
Instance details
Bits CULong 
Instance details
FiniteBits CULong 
Instance details
Integral CULong Source # 
Instance details
IsNatural CULong Source # 
Instance details
IsIntegral CULong Source # 
Instance details
Subtractive CULong Source # 
Instance details

Associated Types

type Difference CULong :: * Source #

Additive CULong Source # 
Instance details
IDivisible CULong Source # 
Instance details
Multiplicative CULong Source # 
Instance details
NormalForm CULong Source # 
Instance details

Methods

toNormalForm :: CULong -> () Source #

type Difference CULong Source # 
Instance details

newtype CPtrdiff #

Haskell type representing the C ptrdiff_t type.

Constructors

CPtrdiff Int64 
Instances
Bounded CPtrdiff 
Instance details
Enum CPtrdiff 
Instance details
Eq CPtrdiff 
Instance details
Integral CPtrdiff 
Instance details
Num CPtrdiff 
Instance details
Ord CPtrdiff 
Instance details
Read CPtrdiff 
Instance details
Real CPtrdiff 
Instance details
Show CPtrdiff 
Instance details
Storable CPtrdiff 
Instance details
Bits CPtrdiff 
Instance details
FiniteBits CPtrdiff 
Instance details
HasNegation CPtrdiff Source # 
Instance details
Integral CPtrdiff Source # 
Instance details
IsIntegral CPtrdiff Source # 
Instance details
Subtractive CPtrdiff Source # 
Instance details

Associated Types

type Difference CPtrdiff :: * Source #

Additive CPtrdiff Source # 
Instance details
IDivisible CPtrdiff Source # 
Instance details
Multiplicative CPtrdiff Source # 
Instance details
type Difference CPtrdiff Source # 
Instance details

newtype CSize #

Haskell type representing the C size_t type.

Constructors

CSize Word64 
Instances
Bounded CSize 
Instance details
Enum CSize 
Instance details
Eq CSize 
Instance details

Methods

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

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

Integral CSize 
Instance details
Num CSize 
Instance details
Ord CSize 
Instance details

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
Real CSize 
Instance details

Methods

toRational :: CSize -> Rational #

Show CSize 
Instance details

Methods

showsPrec :: Int -> CSize -> ShowS #

show :: CSize -> String #

showList :: [CSize] -> ShowS #

Storable CSize 
Instance details

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 () #

Bits CSize 
Instance details
FiniteBits CSize 
Instance details
Integral CSize Source # 
Instance details
IsNatural CSize Source # 
Instance details
IsIntegral CSize Source # 
Instance details
Subtractive CSize Source # 
Instance details

Associated Types

type Difference CSize :: * Source #

Additive CSize Source # 
Instance details
IDivisible CSize Source # 
Instance details
Multiplicative CSize Source # 
Instance details
type Difference CSize Source # 
Instance details

newtype CWchar #

Haskell type representing the C wchar_t type.

Constructors

CWchar Int32 
Instances
Bounded CWchar 
Instance details
Enum CWchar 
Instance details
Eq CWchar 
Instance details

Methods

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

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

Integral CWchar 
Instance details
Num CWchar 
Instance details
Ord CWchar 
Instance details
Read CWchar 
Instance details
Real CWchar 
Instance details
Show CWchar 
Instance details
Storable CWchar 
Instance details
Bits CWchar 
Instance details
FiniteBits CWchar 
Instance details
HasNegation CWchar Source # 
Instance details

Methods

negate :: CWchar -> CWchar Source #

Integral CWchar Source # 
Instance details
IsIntegral CWchar Source # 
Instance details
Subtractive CWchar Source # 
Instance details

Associated Types

type Difference CWchar :: * Source #

Additive CWchar Source # 
Instance details
IDivisible CWchar Source # 
Instance details
Multiplicative CWchar Source # 
Instance details
type Difference CWchar Source # 
Instance details

newtype CSigAtomic #

Haskell type representing the C sig_atomic_t type.

Constructors

CSigAtomic Int32 
Instances
Bounded CSigAtomic 
Instance details
Enum CSigAtomic 
Instance details
Eq CSigAtomic 
Instance details
Integral CSigAtomic 
Instance details
Num CSigAtomic 
Instance details
Ord CSigAtomic 
Instance details
Read CSigAtomic 
Instance details
Real CSigAtomic 
Instance details
Show CSigAtomic 
Instance details
Storable CSigAtomic 
Instance details
Bits CSigAtomic 
Instance details
FiniteBits CSigAtomic 
Instance details
Integral CSigAtomic Source # 
Instance details
IsIntegral CSigAtomic Source # 
Instance details
Subtractive CSigAtomic Source # 
Instance details

Associated Types

type Difference CSigAtomic :: * Source #

Additive CSigAtomic Source # 
Instance details
IDivisible CSigAtomic Source # 
Instance details
Multiplicative CSigAtomic Source # 
Instance details
type Difference CSigAtomic Source # 
Instance details

newtype CLLong #

Haskell type representing the C long long type.

Constructors

CLLong Int64 
Instances
Bounded CLLong 
Instance details
Enum CLLong 
Instance details
Eq CLLong 
Instance details

Methods

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

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

Integral CLLong 
Instance details
Num CLLong 
Instance details
Ord CLLong 
Instance details
Read CLLong 
Instance details
Real CLLong 
Instance details
Show CLLong 
Instance details
Storable CLLong 
Instance details
Bits CLLong 
Instance details
FiniteBits CLLong 
Instance details
HasNegation CLLong Source # 
Instance details

Methods

negate :: CLLong -> CLLong Source #

Integral CLLong Source # 
Instance details
IsIntegral CLLong Source # 
Instance details
Subtractive CLLong Source # 
Instance details

Associated Types

type Difference CLLong :: * Source #

Additive CLLong Source # 
Instance details
IDivisible CLLong Source # 
Instance details
Multiplicative CLLong Source # 
Instance details
NormalForm CLLong Source # 
Instance details

Methods

toNormalForm :: CLLong -> () Source #

type Difference CLLong Source # 
Instance details

newtype CULLong #

Haskell type representing the C unsigned long long type.

Constructors

CULLong Word64 
Instances
Bounded CULLong 
Instance details
Enum CULLong 
Instance details
Eq CULLong 
Instance details

Methods

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

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

Integral CULLong 
Instance details
Num CULLong 
Instance details
Ord CULLong 
Instance details
Read CULLong 
Instance details
Real CULLong 
Instance details
Show CULLong 
Instance details
Storable CULLong 
Instance details
Bits CULLong 
Instance details
FiniteBits CULLong 
Instance details
Integral CULLong Source # 
Instance details
IsNatural CULLong Source # 
Instance details
IsIntegral CULLong Source # 
Instance details
Subtractive CULLong Source # 
Instance details

Associated Types

type Difference CULLong :: * Source #

Additive CULLong Source # 
Instance details
IDivisible CULLong Source # 
Instance details
Multiplicative CULLong Source # 
Instance details
NormalForm CULLong Source # 
Instance details

Methods

toNormalForm :: CULLong -> () Source #

type Difference CULLong Source # 
Instance details

newtype CBool #

Haskell type representing the C bool type.

Since: 4.10.0.0

Constructors

CBool Word8 
Instances
Bounded CBool 
Instance details
Enum CBool 
Instance details
Eq CBool 
Instance details

Methods

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

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

Integral CBool 
Instance details
Num CBool 
Instance details
Ord CBool 
Instance details

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
Real CBool 
Instance details

Methods

toRational :: CBool -> Rational #

Show CBool 
Instance details

Methods

showsPrec :: Int -> CBool -> ShowS #

show :: CBool -> String #

showList :: [CBool] -> ShowS #

Storable CBool 
Instance details

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 () #

Bits CBool 
Instance details
FiniteBits CBool 
Instance details
Integral CBool Source # 
Instance details
IsIntegral CBool Source # 
Instance details
Subtractive CBool Source # 
Instance details

Associated Types

type Difference CBool :: * Source #

type Difference CBool Source # 
Instance details

newtype CIntPtr #

Constructors

CIntPtr Int64 
Instances
Bounded CIntPtr 
Instance details
Enum CIntPtr 
Instance details
Eq CIntPtr 
Instance details

Methods

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

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

Integral CIntPtr 
Instance details
Num CIntPtr 
Instance details
Ord CIntPtr 
Instance details
Read CIntPtr 
Instance details
Real CIntPtr 
Instance details
Show CIntPtr 
Instance details
Storable CIntPtr 
Instance details
Bits CIntPtr 
Instance details
FiniteBits CIntPtr 
Instance details
Integral CIntPtr Source # 
Instance details
IsIntegral CIntPtr Source # 
Instance details
Subtractive CIntPtr Source # 
Instance details

Associated Types

type Difference CIntPtr :: * Source #

Additive CIntPtr Source # 
Instance details
IDivisible CIntPtr Source # 
Instance details
Multiplicative CIntPtr Source # 
Instance details
type Difference CIntPtr Source # 
Instance details

newtype CUIntPtr #

Constructors

CUIntPtr Word64 
Instances
Bounded CUIntPtr 
Instance details
Enum CUIntPtr 
Instance details
Eq CUIntPtr 
Instance details
Integral CUIntPtr 
Instance details
Num CUIntPtr 
Instance details
Ord CUIntPtr 
Instance details
Read CUIntPtr 
Instance details
Real CUIntPtr 
Instance details
Show CUIntPtr 
Instance details
Storable CUIntPtr 
Instance details
Bits CUIntPtr 
Instance details
FiniteBits CUIntPtr 
Instance details
Integral CUIntPtr Source # 
Instance details
IsNatural CUIntPtr Source # 
Instance details
IsIntegral CUIntPtr Source # 
Instance details
Subtractive CUIntPtr Source # 
Instance details

Associated Types

type Difference CUIntPtr :: * Source #

Additive CUIntPtr Source # 
Instance details
IDivisible CUIntPtr Source # 
Instance details
Multiplicative CUIntPtr Source # 
Instance details
type Difference CUIntPtr Source # 
Instance details

newtype CIntMax #

Constructors

CIntMax Int64 
Instances
Bounded CIntMax 
Instance details
Enum CIntMax 
Instance details
Eq CIntMax 
Instance details

Methods

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

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

Integral CIntMax 
Instance details
Num CIntMax 
Instance details
Ord CIntMax 
Instance details
Read CIntMax 
Instance details
Real CIntMax 
Instance details
Show CIntMax 
Instance details
Storable CIntMax 
Instance details
Bits CIntMax 
Instance details
FiniteBits CIntMax 
Instance details
HasNegation CIntMax Source # 
Instance details
Integral CIntMax Source # 
Instance details
IsIntegral CIntMax Source # 
Instance details
Subtractive CIntMax Source # 
Instance details

Associated Types

type Difference CIntMax :: * Source #

Additive CIntMax Source # 
Instance details
IDivisible CIntMax Source # 
Instance details
Multiplicative CIntMax Source # 
Instance details
type Difference CIntMax Source # 
Instance details

newtype CUIntMax #

Constructors

CUIntMax Word64 
Instances
Bounded CUIntMax 
Instance details
Enum CUIntMax 
Instance details
Eq CUIntMax 
Instance details
Integral CUIntMax 
Instance details
Num CUIntMax 
Instance details
Ord CUIntMax 
Instance details
Read CUIntMax 
Instance details
Real CUIntMax 
Instance details
Show CUIntMax 
Instance details
Storable CUIntMax 
Instance details
Bits CUIntMax 
Instance details
FiniteBits CUIntMax 
Instance details
Integral CUIntMax Source # 
Instance details
IsNatural CUIntMax Source # 
Instance details
IsIntegral CUIntMax Source # 
Instance details
Subtractive CUIntMax Source # 
Instance details

Associated Types

type Difference CUIntMax :: * Source #

Additive CUIntMax Source # 
Instance details
IDivisible CUIntMax Source # 
Instance details
Multiplicative CUIntMax Source # 
Instance details
type Difference CUIntMax Source # 
Instance details

newtype CClock #

Haskell type representing the C clock_t type.

Constructors

CClock Int64 
Instances
Enum CClock 
Instance details
Eq CClock 
Instance details

Methods

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

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

Num CClock 
Instance details
Ord CClock 
Instance details
Read CClock 
Instance details
Real CClock 
Instance details
Show CClock 
Instance details
Storable CClock 
Instance details
Integral CClock Source # 
Instance details
Subtractive CClock Source # 
Instance details

Associated Types

type Difference CClock :: * Source #

Additive CClock Source # 
Instance details
Multiplicative CClock Source # 
Instance details
type Difference CClock Source # 
Instance details

newtype CTime #

Haskell type representing the C time_t type.

Constructors

CTime Int64 
Instances
Enum CTime 
Instance details
Eq CTime 
Instance details

Methods

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

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

Num CTime 
Instance details
Ord CTime 
Instance details

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
Real CTime 
Instance details

Methods

toRational :: CTime -> Rational #

Show CTime 
Instance details

Methods

showsPrec :: Int -> CTime -> ShowS #

show :: CTime -> String #

showList :: [CTime] -> ShowS #

Storable CTime 
Instance details

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
Subtractive CTime Source # 
Instance details

Associated Types

type Difference CTime :: * Source #

Additive CTime Source # 
Instance details
Multiplicative CTime Source # 
Instance details
type Difference CTime Source # 
Instance details

newtype CUSeconds #

Haskell type representing the C useconds_t type.

Since: 4.4.0.0

Constructors

CUSeconds Word32 
Instances
Enum CUSeconds 
Instance details
Eq CUSeconds 
Instance details
Num CUSeconds 
Instance details
Ord CUSeconds 
Instance details
Read CUSeconds 
Instance details
Real CUSeconds 
Instance details
Show CUSeconds 
Instance details
Storable CUSeconds 
Instance details
Integral CUSeconds Source # 
Instance details
Subtractive CUSeconds Source # 
Instance details

Associated Types

type Difference CUSeconds :: * Source #

Additive CUSeconds Source # 
Instance details
Multiplicative CUSeconds Source # 
Instance details
type Difference CUSeconds Source # 
Instance details

newtype CSUSeconds #

Haskell type representing the C suseconds_t type.

Since: 4.4.0.0

Constructors

CSUSeconds Int64 
Instances
Enum CSUSeconds 
Instance details
Eq CSUSeconds 
Instance details
Num CSUSeconds 
Instance details
Ord CSUSeconds 
Instance details
Read CSUSeconds 
Instance details
Real CSUSeconds 
Instance details
Show CSUSeconds 
Instance details
Storable CSUSeconds 
Instance details
Integral CSUSeconds Source # 
Instance details
Subtractive CSUSeconds Source # 
Instance details

Associated Types

type Difference CSUSeconds :: * Source #

Additive CSUSeconds Source # 
Instance details
Multiplicative CSUSeconds Source # 
Instance details
type Difference CSUSeconds Source # 
Instance details

newtype CFloat #

Haskell type representing the C float type.

Constructors

CFloat Float 
Instances
Enum CFloat 
Instance details
Eq CFloat 
Instance details

Methods

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

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

Floating CFloat 
Instance details
Fractional CFloat 
Instance details
Num CFloat 
Instance details
Ord CFloat 
Instance details
Read CFloat 
Instance details
Real CFloat 
Instance details
RealFloat CFloat 
Instance details
RealFrac CFloat 
Instance details

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
Storable CFloat 
Instance details
HasNegation CFloat Source # 
Instance details

Methods

negate :: CFloat -> CFloat Source #

Fractional CFloat Source # 
Instance details
Integral CFloat Source # 
Instance details
Subtractive CFloat Source # 
Instance details

Associated Types

type Difference CFloat :: * Source #

Additive CFloat Source # 
Instance details
Divisible CFloat Source # 
Instance details

Methods

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

Multiplicative CFloat Source # 
Instance details
NormalForm CFloat Source # 
Instance details

Methods

toNormalForm :: CFloat -> () Source #

type Difference CFloat Source # 
Instance details

data CDouble #

Haskell type representing the C double type.

Instances
Enum CDouble 
Instance details
Eq CDouble 
Instance details

Methods

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

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

Floating CDouble 
Instance details
Fractional CDouble 
Instance details
Num CDouble 
Instance details
Ord CDouble 
Instance details
Read CDouble 
Instance details
Real CDouble 
Instance details
RealFloat CDouble 
Instance details
RealFrac CDouble 
Instance details

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
Storable CDouble 
Instance details
HasNegation CDouble Source # 
Instance details
Fractional CDouble Source # 
Instance details
Integral CDouble Source # 
Instance details
Subtractive CDouble Source # 
Instance details

Associated Types

type Difference CDouble :: * Source #

Additive CDouble Source # 
Instance details
Divisible CDouble Source # 
Instance details

Methods

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

Multiplicative CDouble Source # 
Instance details
NormalForm CDouble Source # 
Instance details

Methods

toNormalForm :: CDouble -> () Source #

type Difference CDouble Source # 
Instance details

newtype COff #

Constructors

COff Int64 
Instances
Bounded COff 
Instance details
Enum COff 
Instance details

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

Methods

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

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

Integral COff 
Instance details

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

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

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
Real COff 
Instance details

Methods

toRational :: COff -> Rational #

Show COff 
Instance details

Methods

showsPrec :: Int -> COff -> ShowS #

show :: COff -> String #

showList :: [COff] -> ShowS #

Storable COff 
Instance details

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 () #

Bits COff 
Instance details
FiniteBits COff 
Instance details
Integral COff Source # 
Instance details
Subtractive COff Source # 
Instance details

Associated Types

type Difference COff :: * Source #

Methods

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

Additive COff Source # 
Instance details

Methods

azero :: COff Source #

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

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

Multiplicative COff Source # 
Instance details

Methods

midentity :: COff Source #

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

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

type Difference COff Source # 
Instance details

newtype CMode #

Constructors

CMode Word32 
Instances
Bounded CMode 
Instance details
Enum CMode 
Instance details
Eq CMode 
Instance details

Methods

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

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

Integral CMode 
Instance details
Num CMode 
Instance details
Ord CMode 
Instance details

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
Real CMode 
Instance details

Methods

toRational :: CMode -> Rational #

Show CMode 
Instance details

Methods

showsPrec :: Int -> CMode -> ShowS #

show :: CMode -> String #

showList :: [CMode] -> ShowS #

Storable CMode 
Instance details

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 () #

Bits CMode 
Instance details
FiniteBits CMode 
Instance details