| Copyright | (c) 2008 Benedikt Huber |
|---|---|
| License | BSD-style |
| Maintainer | benedikt.huber@gmail.com |
| Stability | experimental |
| Portability | ghc |
| Safe Haskell | None |
| Language | Haskell98 |
Language.C.Data.Name
Description
Unique Names with fast equality (newtype Int)
- newtype Name = Name {}
- newNameSupply :: [Name]
- namesStartingFrom :: Int -> [Name]
Documentation
Name is a unique identifier
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