Call a function: Difference between revisions
Content added Content deleted
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
Line 3,692: | Line 3,692: | ||
<syntaxhighlight lang="langur">val .sum = foldfrom( |
<syntaxhighlight lang="langur">val .sum = foldfrom( |
||
fn(.sum, .i, .c) .sum + number(.c, 36) * .weight[.i], |
fn(.sum, .i, .c) { .sum + number(.c, 36) * .weight[.i] }, |
||
0, |
0, |
||
pseries len .code, |
pseries len .code, |