Elm Exactly

Rule 38s-atpat-nil

Atomic PatternsC⊢atpat⇒(VE,τ)\jdg{C}{\atpat}{(\VE, \tau)}
C⊢[ ]⇒({},τ List)\frac{\begin{array}{c}\end{array}}{\begin{array}{c}\jdg{C}{\kw{[}\ \kw{]}}{(\emptymap, \tau\,\tList)}\end{array}}
(38)
Read it in its chapter·Permanent address: /standard/rules/s-atpat-nil

Comments

As in rule (7), τ\tau is arbitrary.

TeX source
\defnrule[r:s-atpat-nil]
  {}
  {\jdg{C}{\kw{[}\ \kw{]}}{(\emptymap, \tau\,\tList)}}

Tests (2)

Discussions

Discuss this rule·Search the discussions on GitHub

Discussions are on GitHub; one about this rule has [r:s-atpat-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.