Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
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
Name
s are intended to be comparable. They are used as keys to
identify nodes of the dependency graph for example.
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 parseJSON :: Value -> Parser QName parseJSONList :: Value -> Parser [QName] | |
ToJSON QName | |
Defined in FreeC.Environment.ModuleInterface.Encoder | |
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