Call a function: Difference between revisions

Content added Content deleted
Line 3,692: Line 3,692:


<syntaxhighlight lang="langur">val .sum = foldfrom(
<syntaxhighlight lang="langur">val .sum = foldfrom(
f(.sum, .i, .c) .sum + toNumber(.c, 36) x .weight[.i],
fn(.sum, .i, .c) .sum + toNumber(.c, 36) x .weight[.i],
0,
0,
pseries len .code,
pseries len .code,
Line 3,703: Line 3,703:
}
}
# unbounded list on keys bounded by closing parenthesis of sort</syntaxhighlight>
# unbounded list on keys bounded by closing parenthesis of sort</syntaxhighlight>

=={{header|Latitude}}==
=={{header|Latitude}}==