Elm Exactly

Basis entryTask.map

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

Static basis

map ↦ (∀x a b. (a→b)→(x,a)Task→(x,b)Task,v)\begin{array}{|rcl|}\hline \href{/standard/basis/Task/map}{\kw{map}} {\ }& \mapsto {\ }& (\forall\mv{x}\,\mv{a}\,\mv{b}.\,(\mv{a} \rightarrow \mv{b}) \rightarrow (\mv{x}, \mv{a})\sbtTask \rightarrow (\mv{x}, \mv{b})\sbtTask, \isv)\\\hline\end{array}
Figure 43: Static Interface of Task

Dynamic basis

var or con ↦ varitymap, map2, map3, map4, map5 ↦ Elm\begin{array}{|rclc|}\hline \var\ \text{or}\ \con {\ }& \mapsto {\ }& v {\qquad}& \arity\\\hline \href{/standard/basis/Task/map}{\kw{map}},\ \href{/standard/basis/Task/map2}{\kw{map2}},\ \href{/standard/basis/Task/map3}{\kw{map3}},\ \href{/standard/basis/Task/map4}{\kw{map4}},\ \href{/standard/basis/Task/map5}{\kw{map5}} {\ }& \mapsto {\ }& \text{Elm} {\qquad}& \\\hline\end{array}
Figure 47: Dynamic VE\VE of the Other Modules of ME0\ME_0
Read it in its chapter·Permanent address: /standard/basis/Task/map

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:Task.map] 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.