Elm Exactly

Figurestatic-basis-effects

Figure 44, Static Interfaces of Process, Json and View Modules, in Section C.5 Debugging, Programs and Effects.

ProcessId ↦ (ProcessId, {})spawn ↦ (∀x y a. (x,a)Task→(y,ProcessId)Task,v)sleep ↦ (∀x. Float→(x,())Task,v)kill ↦ (∀x. ProcessId→(x,())Task,v)Json.Encode and Json.DecodeValue ↦ (Value, {})VirtualDomNode ↦ (Node, {})HtmlHtml ↦ (Node, {}) \begin{array}{|rcl|} \hline \kw{Process}&&\\ \hline \htmlId{b-Process-Id}{\href{/standard/basis/Process/Id}{\kw{Id}}} {\ }& \mapsto {\ }& (\sbtProcessId,\ \emptymap)\\ \hline \htmlId{b-Process-spawn}{\href{/standard/basis/Process/spawn}{\kw{spawn}}} {\ }& \mapsto {\ }& (\forall\mv{x}\,\mv{y}\,\mv{a}.\,(\mv{x}, \mv{a})\sbtTask \rightarrow (\mv{y}, \sbtProcessId)\sbtTask, \isv)\\ \htmlId{b-Process-sleep}{\href{/standard/basis/Process/sleep}{\kw{sleep}}} {\ }& \mapsto {\ }& (\forall\mv{x}.\,\tFloat \rightarrow (\mv{x}, \tunit)\sbtTask, \isv)\\ \htmlId{b-Process-kill}{\href{/standard/basis/Process/kill}{\kw{kill}}} {\ }& \mapsto {\ }& (\forall\mv{x}.\,\sbtProcessId \rightarrow (\mv{x}, \tunit)\sbtTask, \isv)\\ \hline \kw{Json.Encode}\ \text{and}\ \kw{Json.Decode}&&\\ \hline \htmlId{b-Json-Decode-Value}{\htmlId{b-Json-Encode-Value}{\href{/standard/basis/Json/Encode/Value}{\kw{Value}}}} {\ }& \mapsto {\ }& (\tValue,\ \emptymap)\\ \hline \kw{VirtualDom}&&\\ \hline \htmlId{b-VirtualDom-Node}{\href{/standard/basis/VirtualDom/Node}{\kw{Node}}} {\ }& \mapsto {\ }& (\sbtNode,\ \emptymap)\\ \hline \kw{Html}&&\\ \hline \htmlId{b-Html-Html}{\href{/standard/basis/Html/Html}{\kw{Html}}} {\ }& \mapsto {\ }& (\sbtNode,\ \emptymap)\\ \hline \end{array}
Figure 44: Static Interfaces of Process, Json and View Modules
Read it in its chapter·Permanent address: /standard/figures/static-basis-effects

Referred to from

Tests (0)

No test of the suite checks this figure yet.

Discussions

Discuss this figure·Search the discussions on GitHub

Discussions are on GitHub; one about this figure has [fig:static-basis-effects] 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.