From 8bf0bb5da9fc5b849ebe870037d59d52f88aea47 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 5 Jul 2023 11:42:23 +0200 Subject: Improve sink and spreading docs --- docs/reference/syntax.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/reference/syntax.md') 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) | -- cgit v1.2.3