Call a function: Difference between revisions
Content deleted Content added
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 3,668:
=={{header|langur}}==
Functions are first-order, and may be passed around, whether user-defined or built-in.
There are several ways to call a function in langur.
Line 3,703 ⟶ 3,705:
=== argument expansion ===
Use the expansion operator (...) to pass a list as multiple arguments. The following example works if wordsets is a list of lists, and passes
<syntaxhighlight lang="langur">
|