| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
FreeC.LiftedIR.Syntax.Name
Description
This module reexports the data types for names from FreeC.IR.Syntax.Name.
Documentation
An identifier or a symbolic name.
The constructors of this type do not contain source spans because
Names are intended to be comparable. They are used as keys to
identify nodes of the dependency graph for example.
Constructors
| Ident String | An identifier, e.g. |
| Symbol String | A symbolic name, e.g. |
A qualifiable Name.
Instances
| Eq QName Source # | |
| Ord QName Source # | |
Defined in FreeC.IR.Syntax.Name | |
| Show QName Source # | |
| Pretty QName Source # | Pretty instance for qualifiable identifiers and symbols. |
Defined in FreeC.IR.Syntax.Name | |
| FromJSON QName | All Haskell names in the interface file are qualified. |
Defined in FreeC.Environment.ModuleInterface.Decoder | |
| ToJSON QName | |
Defined in FreeC.Environment.ModuleInterface.Encoder Methods toEncoding :: QName -> Encoding toJSONList :: [QName] -> Value toEncodingList :: [QName] -> Encoding | |
| Parseable QName Source # | Qualifiable names can be parsed. |
Defined in FreeC.Frontend.IR.Parser | |
Value Level Names
The name of a function or built-in operator used in prefix notation, e.g.
f x y or (+) n m
Type Level Names
type TypeVarIdent = String Source #
The name of a type variable.
type TypeConName = QName Source #
The name of a type or type constructor, e.g. Integer or [] a