Rule 164e-dec-list
Decoding
(164)
TeX source
\defnrule[r:e-dec-list]
{\Dec{\tau}(j_1)=v_1\ \ \cdots\ \ \Dec{\tau}(j_n)=v_n}
{\Dec{\tau\,\tList}(\effJarr{j_1,\ldots,j_n})=[v_1,\ldots,v_n]}Tests (4)
- elm / MinimalPipeListTestA pipe at `List Int`: the value the driver sends in comes back out.
- elm / PortEchoListIntTestA `List Int` sent out through a port comes back unchanged through an incoming port, for each of three sample values.
- elm / PortEchoNestedTestA `List (Maybe ( Int, List String ))` sent out through a port comes back unchanged through an incoming port, for each of two sample values.
- elm / PortPipeListArrayTestJSON arrays received at `List` and `Array` types go out as the same arrays.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:e-dec-list] 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.