Apply a callback to an array: Difference between revisions
Content added Content deleted
Langurmonkey (talk | contribs) |
|||
Line 1,966: | Line 1,966: | ||
=={{header|langur}}== |
=={{header|langur}}== |
||
<syntaxhighlight lang="langur">writeln map |
<syntaxhighlight lang="langur">writeln map fn{^2}, 1..10</syntaxhighlight> |
||
{{out}} |
{{out}} |