Elm Exactly

Derived formfunction-binding

Stated in ADerived Forms, under Value Bindings valbind\valbind.

Derived Form\textnormal{Derived Form}Equivalent Form\textnormal{Equivalent Form}
var ⟨: ty⟩ atpat1⋯atpatn = exp⟨and valbind⟩\begin{array}{l} \var\ \opt{\kw{:}\ \ty}\ \atpat_1\cdots\atpat_n\ \kw{=}\ \expm\\ \quad\opt{\kw{and}\ \valbind} \end{array}var ⟨: ty⟩ = \atpat1⋯atpatn -> exp⟨and valbind⟩(n≥1)\begin{array}{l} \var\ \opt{\kw{:}\ \ty}\ \kw{=}\ \kw{\textbackslash}\atpat_1\cdots\atpat_n\ \kw{->}\ \expm\\ \quad\opt{\kw{and}\ \valbind} \qquad (n\geq 1) \end{array}
Read it in its chapter·Permanent address: /standard/derived-forms/function-binding

Tests (0)

No test of the suite checks this derived form yet.

Discussions

Discuss this derived form·Search the discussions on GitHub

Discussions are on GitHub; one about this derived form has [df:function-binding] 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.