Elm Exactly

Rule 23s-ty-rowvar

Type ExpressionsC⊢ty⇒τ\jdg{C}{\ty}{\tau}
tyvar=ϵϵ∈UofCC⊢tyvar⇒{{}∣ϵ}\frac{\begin{array}{c}\tyvar = \epsilon \premsep \epsilon \in U \of C\end{array}}{\begin{array}{c}\jdg{C}{\tyvar}{\orec{\emptymap}{\epsilon}}\end{array}}
(23)
Read it in its chapter·Permanent address: /standard/rules/s-ty-rowvar

Comments

A row variable written alone denotes the open record type with no fields of its own: the record of the fields that ϵ\epsilon stands for.

Referred to from

TeX source
\defnrule[r:s-ty-rowvar]
  {\tyvar = \epsilon \premsep \epsilon \in U \of C}
  {\jdg{C}{\tyvar}{\orec{\emptymap}{\epsilon}}}

Tests (2)

Discussions

Discuss this rule·Search the discussions on GitHub

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