ghc-6.10.1: The GHC APIContentsIndex
FastTypes
Contents
FastInt
Getting in and out of FastInt
Arithmetic on FastInt
FastChar
Getting in and out of FastChar
Operations on FastChar
FastPtr
Getting in and out of FastPtr
Casting FastPtrs
Description
Fast integers, characters and pointer types for use in many parts of GHC
Synopsis
type FastInt = Int#
_ILIT :: Int -> FastInt
iBox :: FastInt -> Int
iUnbox :: Int -> FastInt
quotFastInt :: FastInt -> FastInt -> FastInt
negateFastInt :: FastInt -> FastInt
maxFastInt :: FastInt -> FastInt -> FastInt
shiftR_FastInt :: FastInt -> FastInt -> FastInt
bitOrFastInt :: FastInt -> FastInt -> FastInt
type FastChar = Char#
_CLIT :: Char -> FastChar
cBox :: FastChar -> Char
cUnbox :: Char -> FastChar
fastOrd :: FastChar -> FastInt
fastChr :: FastInt -> FastChar
eqFastChar :: FastChar -> FastChar -> Bool
type FastPtr a = Addr#
pBox :: FastPtr a -> Ptr a
pUnbox :: Ptr a -> FastPtr a
castFastPtr :: FastPtr a -> FastPtr b
FastInt
type FastInt = Int#
Getting in and out of FastInt
_ILIT :: Int -> FastInt
iBox :: FastInt -> Int
iUnbox :: Int -> FastInt
Arithmetic on FastInt
quotFastInt :: FastInt -> FastInt -> FastInt
negateFastInt :: FastInt -> FastInt
maxFastInt :: FastInt -> FastInt -> FastInt
shiftR_FastInt :: FastInt -> FastInt -> FastInt
bitOrFastInt :: FastInt -> FastInt -> FastInt
FastChar
type FastChar = Char#
Getting in and out of FastChar
_CLIT :: Char -> FastChar
cBox :: FastChar -> Char
cUnbox :: Char -> FastChar
Operations on FastChar
fastOrd :: FastChar -> FastInt
fastChr :: FastInt -> FastChar
eqFastChar :: FastChar -> FastChar -> Bool
FastPtr
type FastPtr a = Addr#
Getting in and out of FastPtr
pBox :: FastPtr a -> Ptr a
pUnbox :: Ptr a -> FastPtr a
Casting FastPtrs
castFastPtr :: FastPtr a -> FastPtr b
Produced by Haddock version 2.3.0