Rule 71d-atexp-nil
Atomic Expressions
(71)
TeX source
\defnrule[r:d-atexp-nil]
{}
{\jdg{E}{\kw{[}\ \kw{]}}{\kw{[]}}}Tests (3)
- elm / ListConsTestThe cons operator `::` builds one-, two- and three-element lists onto `[]`.
- elm / ListLiteralTestList literals of one, three and five Int elements log their elements in order.
- elm / MinimalEmptyListTestThe empty list is a value.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:d-atexp-nil] 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.