diff options
author | Valentin Gagarin <valentin.gagarin@tweag.io> | 2022-08-12 14:13:03 +0200 |
---|---|---|
committer | Valentin Gagarin <valentin.gagarin@tweag.io> | 2022-08-15 10:18:56 +0200 |
commit | 2e4704ca9372c90826022d52360b6d57b564de5b (patch) | |
tree | cef5411d737c6a8a0b95d070dd70b915f8b1f5c2 /doc/manual/src/language/index.md | |
parent | 5c25bdee509af297caddd7b6fdca275940282269 (diff) |
add second @ pattern example
Diffstat (limited to 'doc/manual/src/language/index.md')
-rw-r--r-- | doc/manual/src/language/index.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/manual/src/language/index.md b/doc/manual/src/language/index.md index bc20f4316..f201bbded 100644 --- a/doc/manual/src/language/index.md +++ b/doc/manual/src/language/index.md @@ -339,6 +339,8 @@ the rest. <tr> <td> `{ x, y } @ args: x + y` + + `args @ { x, y }: x + y` </td> <td> A function that expects a set with required attributes `x` and `y`, and binds the whole set to `args` |