diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-07-05 11:42:23 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-07-05 11:42:23 +0200 |
| commit | 8bf0bb5da9fc5b849ebe870037d59d52f88aea47 (patch) | |
| tree | 364b24629c990c80709ce7af25f2e3d062a1e4e9 /docs/reference/syntax.md | |
| parent | 9a9da806656fe70dde8827f8afc5dd9dac8f7cb0 (diff) | |
Improve sink and spreading docs
Diffstat (limited to 'docs/reference/syntax.md')
| -rw-r--r-- | docs/reference/syntax.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/reference/syntax.md b/docs/reference/syntax.md index d0cd80d7..3209e8e5 100644 --- a/docs/reference/syntax.md +++ b/docs/reference/syntax.md @@ -85,6 +85,7 @@ a table listing all syntax that is available in code mode: | Field access | `{x.y}` | [Scripting]($scripting/#fields) | | Method call | `{x.flatten()}` | [Scripting]($scripting/#methods) | | Function call | `{min(x, y)}` | [Function]($type/function) | +| Argument spreading | `{min(..nums)}` | [Arguments]($type/arguments) | | Unnamed function | `{(x, y) => x + y}` | [Function]($type/function) | | Let binding | `{let x = 1}` | [Scripting]($scripting/#bindings) | | Named function | `{let f(x) = 2 * x}` | [Function]($type/function) | |
