Changes between Version 8 and Version 9 of Commentary/Compiler/EntityTypes
- Timestamp:
- 03/24/07 20:05:49 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Compiler/EntityTypes
v8 v9 7 7 For each kind of Haskell entity (identifier, type variable, type constructor, data constructor, class) GHC has a data type to represent it. Here they are: 8 8 * '''Type constructors''' are represtented by the {{{TyCon}}} type ([[GhcFile(compiler/types/TyCon.lhs)]]). 9 * '''Clas es''' are represtented by the {{{Class}}} type ([[GhcFile(compiler/types/Class.lhs)]]).9 * '''Classes''' are represtented by the {{{Class}}} type ([[GhcFile(compiler/types/Class.lhs)]]). 10 10 * '''Data constructors''' are represtented by the {{{DataCon}}} type ([[GhcFile(compiler/basicTypes/DataCon.lhs)]]). 11 11 * '''Term variables''' {{{Id}}} and '''type variables''' {{{TyVar}}} are both represented by the {{{Var}}} type ([[GhcFile(compiler/basicTypes/Var.lhs)]]).
