ghc-6.10.2: The GHC API
Contents
Index
Unique
Contents
Main data types
Constructors, desctructors and operations on
Unique
s
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
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
Instances
Eq
Unique
Ord
Unique
Show
Unique
Outputable
Unique
Uniquable
Unique
class
Uniquable
a
where
Class of things that we can obtain a
Unique
from
Methods
getUnique
:: a ->
Unique
Instances
Uniquable
Int
Uniquable
PackageId
Uniquable
ModuleName
Uniquable
Module
Uniquable
OccName
Uniquable
FastString
Uniquable
Unique
Uniquable
SlotClass
Uniquable
Reg
Uniquable
BlockId
Uniquable
TyCon
Uniquable
Name
Uniquable
DataCon
Uniquable
Var
Uniquable
Class
Uniquable
LocalReg
Uniquable
Reg
Uniquable
RegClass
Uniquable
Store
Constructors, desctructors and operations on
Unique
s
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
Making built-in uniques
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
Produced by
Haddock
version 2.4.2