Elm Exactly

Rule 128dm-topdec-port-in

Top-level DeclarationsE⊢topdec⇒I\jdg{E}{\topdec}{I}
E⊢port var : (in,τ)⇒{var↦inport(var,τ)} in Interface\frac{\begin{array}{c}\end{array}}{\begin{array}{c}\jdg{E}{\kw{port}\ \var\ \kw{:}\ (\smdirin,\tau)} {\{\var\mapsto\effinport(\var,\tau)\}\ \text{in}\ \Interface}\end{array}}
(128)
Read it in its chapter·Permanent address: /standard/rules/dm-topdec-port-in

Referred to from

TeX source
\defnrule[r:dm-topdec-port-in]
  {}
  {\jdg{E}{\kw{port}\ \var\ \kw{:}\ (\smdirin,\tau)}
     {\{\var\mapsto\effinport(\var,\tau)\}\ \text{in}\ \Interface}}

Tests (1)

Discussions

Discuss this rule·Search the discussions on GitHub

Discussions are on GitHub; one about this rule has [r:dm-topdec-port-in] 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.