Elm Exactly

Basis entryDebug.log

A value of Debug. Its type is in Section C.5 Debugging, Programs and Effects.

Static basis

log ↦ (∀a. String→a→a,v)\begin{array}{|rcl|}\hline \href{/standard/basis/Debug/log}{\kw{log}} {\ }& \mapsto {\ }& (\forall\mv{a}.\,\tString \rightarrow \mv{a} \rightarrow \mv{a}, \isv)\\\hline\end{array}
Figure 42: Static Interfaces of Debug and the Platform Modules

Dynamic basis

var or con ↦ varitylog ↦ basic value2\begin{array}{|rclc|}\hline \var\ \text{or}\ \con {\ }& \mapsto {\ }& v {\qquad}& \arity\\\hline \href{/standard/basis/Debug/log}{\kw{log}} {\ }& \mapsto {\ }& \text{basic value} {\qquad}& 2\\\hline\end{array}
Figure 47: Dynamic VE\VE of the Other Modules of ME0\ME_0

Its APPLY

APPLY(Debug.log,s,v) = {v}\begin{array}{rcl} \APPLY(\kw{Debug.log},s,v) {\ }& = {\ }& \{v\}\end{array}
Read it in its chapter·Permanent address: /standard/basis/Debug/log

Tests (0)

No test of the suite checks this entry of the basis yet.

Discussions

Discuss this basis entry·Search the discussions on GitHub

Discussions are on GitHub; one about this basis entry has [b:Debug.log] 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.