Rule 12s-exprow
Expression Rows
(12)
Comments
The syntactic restrictions ensure .
TeX source
\defnrule[r:s-exprow]
{\jdg{C}{\expm}{\tau} \premsep \opt{\jdg{C}{\exprow}{\varrho}}}
{\jdg{C}{\lab\ \kw{=}\ \expm\ \opt{\kw{,}\ \exprow}}{\{\lab \mapsto \tau\}\opt{{}+\varrho}}}Tests (2)
- elm / MinimalRecordTestA record expression with one field.
- elm / RecordRowsTestRecord expressions, record types and record patterns are rows of fields.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:s-exprow] 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.