Rule 26s-ty-unit
Type Expressions
(26)
TeX source
\defnrule[r:s-ty-unit]
{}
{\jdg{C}{\kw{()}}{\tunit}}Tests (2)
- elm / MinimalUnitTestThe unit expression has the unit type and value.
- 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-ty-unit] 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.