language-c-0.3.2: Analysis and generation of C codeSource codeContentsIndex
Language.C.Data.Name
Portabilityghc
Stabilityexperimental
Maintainerbenedikt.huber@gmail.com
Description
Unique Names with fast equality (newtype Int)
Synopsis
newtype Name = Name {
nameId :: Int
}
newNameSupply :: [Name]
namesStartingFrom :: Int -> [Name]
Documentation
newtype Name Source
Name is a unique identifier
Constructors
Name
nameId :: Int
show/hide Instances
newNameSupply :: [Name]Source
return an infinite stream of Names starting with nameId 0
namesStartingFrom :: Int -> [Name]Source
get the infinite stream of unique names starting from the given integer
Produced by Haddock version 2.4.2