Elm Exactly

Rule 105d-atpat-paren

Atomic PatternsE,v⊢atpat⇒VE/FAIL\jdgv{E}{v}{\atpat}{\VE/\FAIL}
E,v⊢pat⇒VE/FAILE,v⊢(pat)⇒VE/FAIL\frac{\begin{array}{c}\jdgv{E}{v}{\pat}{\VE/\FAIL}\end{array}}{\begin{array}{c}\jdgv{E}{v}{\kw{(}\pat\kw{)}}{\VE/\FAIL}\end{array}}
(105)
Read it in its chapter·Permanent address: /standard/rules/d-atpat-paren
TeX source
\defnrule[r:d-atpat-paren]
  {\jdgv{E}{v}{\pat}{\VE/\FAIL}}
  {\jdgv{E}{v}{\kw{(}\pat\kw{)}}{\VE/\FAIL}}

Tests (2)

Discussions

Discuss this rule·Search the discussions on GitHub

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