Elm Exactly

Rule 181p-disp-plat

Dispatchs,P,Q,H⊢L⇒(P′,Q′,H′)\jdg{s,P,Q,H}{L}{(P',Q',H')}
c∈Leaf(m,v)m∈Managerplats,P,Q, H⊎{ ⁣∣ c ∣ ⁣}⊢L⇒(P′,Q′,H′)s,P,Q,H⊢c⋅L⇒(P′,Q′,H′)\frac{\begin{array}{c}\effc\in\pgLeaf(\effm,v)\premsep\effm\in\effMgrPlat\\ \jdg{s,P,Q,\ H\uplus\effmset{\effc}}{L}{(P',Q',H')}\end{array}}{\begin{array}{c}\jdg{s,P,Q,H}{\effc\cdot L}{(P',Q',H')}\end{array}}
(181)
Read it in its chapter·Permanent address: /standard/rules/p-disp-plat

Comments

What the managers of the platform do with the leaves handed to them is given by the platform steps (Section 9.4.3). No rule dispatches a leaf of any other manager: a leaf of an incoming port is a subscription, never a command, and there are no effect modules in Standard Elm.

TeX source
\defnrule[r:p-disp-plat]
  {\effc\in\pgLeaf(\effm,v)\premsep\effm\in\effMgrPlat\\
   \jdg{s,P,Q,\ H\uplus\effmset{\effc}}{L}{(P',Q',H')}}
  {\jdg{s,P,Q,H}{\effc\cdot L}{(P',Q',H')}}

Tests (0)

No test of the suite checks this rule yet.

Discussions

Discuss this rule·Search the discussions on GitHub

Discussions are on GitHub; one about this rule has [r:p-disp-plat] 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.