Rule 23s-ty-rowvar
Type Expressions
(23)
Comments
A row variable written alone denotes the open record type with no fields of its own: the record of the fields that stands for.
Referred to from
- Section 4.7 Scope of Explicit Type Variables
- The comment on rule
s-ty-tyvar(Chapter 4)
TeX source
\defnrule[r:s-ty-rowvar]
{\tyvar = \epsilon \premsep \epsilon \in U \of C}
{\jdg{C}{\tyvar}{\orec{\emptymap}{\epsilon}}}Tests (2)
- elm / MinimalRowVariableTestAn annotation with an extensible record type.
- elm / RowVariableAloneTestA record type's extension variable, written alone, is the record of the other fields.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:s-ty-rowvar] in its title.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.