Elm Exactly

Rule 30s-ty-paren

Type ExpressionsC⊢ty⇒τ\jdg{C}{\ty}{\tau}
C⊢ty⇒τC⊢( ty )⇒τ\frac{\begin{array}{c}\jdg{C}{\ty}{\tau}\end{array}}{\begin{array}{c}\jdg{C}{\kw{(}\,\ty\,\kw{)}}{\tau}\end{array}}
(30)
Read it in its chapter·Permanent address: /standard/rules/s-ty-paren
TeX source
\defnrule[r:s-ty-paren]
  {\jdg{C}{\ty}{\tau}}
  {\jdg{C}{\kw{(}\,\ty\,\kw{)}}{\tau}}

Tests (2)

Discussions

Discuss this rule·Search the discussions on GitHub

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