Elm Exactly

Rule 29s-ty-fun

Type ExpressionsC⊢ty⇒τ\jdg{C}{\ty}{\tau}
C⊢ty⇒τC⊢ty′⇒τ′C⊢ty -> ty′⇒τ→τ′\frac{\begin{array}{c}\jdg{C}{\ty}{\tau} \premsep \jdg{C}{\ty'}{\tau'}\end{array}}{\begin{array}{c}\jdg{C}{\ty\ \kw{->}\ \ty'}{\tau \rightarrow \tau'}\end{array}}
(29)
Read it in its chapter·Permanent address: /standard/rules/s-ty-fun
TeX source
\defnrule[r:s-ty-fun]
  {\jdg{C}{\ty}{\tau} \premsep \jdg{C}{\ty'}{\tau'}}
  {\jdg{C}{\ty\ \kw{->}\ \ty'}{\tau \rightarrow \tau'}}

Tests (3)

Discussions

Discuss this rule·Search the discussions on GitHub

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