language-c-0.4.7: Analysis and generation of C code

Copyright(c) 2008 Benedikt Huber
LicenseBSD-style
Maintainerbenedikt.huber@gmail.com
Stabilityexperimental
Portabilityghc
Safe HaskellNone
LanguageHaskell98

Language.C.Data.Name

Description

Unique Names with fast equality (newtype Int)

Synopsis

Documentation

newtype Name Source

Name is a unique identifier

Constructors

Name 

Fields

nameId :: Int
 

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