ghc-6.12.3: The GHC APISource codeContentsIndex
Unique
Contents
Main data types
Constructors, desctructors and operations on Uniques
Making built-in uniques
Synopsis
data Unique
class Uniquable a where
getUnique :: a -> Unique
hasKey :: Uniquable a => a -> Unique -> Bool
pprUnique :: Unique -> SDoc
mkUnique :: Char -> Int -> Unique
mkUniqueGrimily :: Int -> Unique
getKey :: Unique -> Int
getKeyFastInt :: Unique -> FastInt
incrUnique :: Unique -> Unique
deriveUnique :: Unique -> Int -> Unique
newTagUnique :: Unique -> Char -> Unique
initTyVarUnique :: Unique
isTupleKey :: Unique -> Bool
mkAlphaTyVarUnique :: Int -> Unique
mkPrimOpIdUnique :: Int -> Unique
mkTupleTyConUnique :: Boxity -> Int -> Unique
mkTupleDataConUnique :: Boxity -> Int -> Unique
mkPreludeMiscIdUnique :: Int -> Unique
mkPreludeDataConUnique :: Int -> Unique
mkPreludeTyConUnique :: Int -> Unique
mkPreludeClassUnique :: Int -> Unique
mkPArrDataConUnique :: Int -> Unique
mkBuiltinUnique :: Int -> Unique
mkPseudoUniqueC :: Int -> Unique
mkPseudoUniqueD :: Int -> Unique
mkPseudoUniqueE :: Int -> Unique
mkPseudoUniqueH :: Int -> Unique
Main data types
data Unique Source
The type of unique identifiers that are used in many places in GHC for fast ordering and equality tests. You should generate these with the functions from the UniqSupply module
show/hide Instances
class Uniquable a whereSource
Class of things that we can obtain a Unique from
Methods
getUnique :: a -> UniqueSource
show/hide Instances
Constructors, desctructors and operations on Uniques
hasKey :: Uniquable a => a -> Unique -> BoolSource
pprUnique :: Unique -> SDocSource
mkUnique :: Char -> Int -> UniqueSource
mkUniqueGrimily :: Int -> UniqueSource
getKey :: Unique -> IntSource
getKeyFastInt :: Unique -> FastIntSource
incrUnique :: Unique -> UniqueSource
deriveUnique :: Unique -> Int -> UniqueSource
newTagUnique :: Unique -> Char -> UniqueSource
initTyVarUnique :: UniqueSource
isTupleKey :: Unique -> BoolSource
Making built-in uniques
mkAlphaTyVarUnique :: Int -> UniqueSource
mkPrimOpIdUnique :: Int -> UniqueSource
mkTupleTyConUnique :: Boxity -> Int -> UniqueSource
mkTupleDataConUnique :: Boxity -> Int -> UniqueSource
mkPreludeMiscIdUnique :: Int -> UniqueSource
mkPreludeDataConUnique :: Int -> UniqueSource
mkPreludeTyConUnique :: Int -> UniqueSource
mkPreludeClassUnique :: Int -> UniqueSource
mkPArrDataConUnique :: Int -> UniqueSource
mkBuiltinUnique :: Int -> UniqueSource
mkPseudoUniqueC :: Int -> UniqueSource
mkPseudoUniqueD :: Int -> UniqueSource
mkPseudoUniqueE :: Int -> UniqueSource
mkPseudoUniqueH :: Int -> UniqueSource
Produced by Haddock version 2.6.1