Figurecore-grammar-types
| ::= | type variable | ||
| record type expression | |||
| extensible record type expression | |||
| unit type expression | |||
| tuple type expression | |||
| type construction () | |||
| function type expression (R) | |||
| parentheses | |||
| ::= | type-expression row |
Referred to from
Tests (1)
- elm / TypeExprUnitAppliedTestThe type annotation `foo : () String Float` is rejected, and not as a TYPE MISMATCH.
Discussions
Discuss this figure·Search the discussions on GitHub
Discussions are on GitHub; one about this figure has [fig:core-grammar-types] 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.