diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-09-18 12:56:34 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-09-18 12:56:34 -0400 |
| commit | d6624dece8cd3de26a5f3e8c1e7c018ffc8870b7 (patch) | |
| tree | 5c68ffb99e61a42bd20526229a45cdddd6a35657 /docs/syntax.md | |
| parent | 8c1449a96ea2e8960fdca9dad9f6dcfe083a6235 (diff) | |
call fork syntax
Diffstat (limited to 'docs/syntax.md')
| -rw-r--r-- | docs/syntax.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/syntax.md b/docs/syntax.md index 1c28324..0f133ea 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -102,7 +102,7 @@ ```text add : `{[I64 x; I64 y] x + y } -add `sync (1; 2) +add `call (1; 2) ``` ## Generators `^{[arguments] ... }` @@ -111,6 +111,6 @@ add `sync (1; 2) gen : ^{[I64 n] @ 1 .. n {[x] `yield x } } -it : gen `sync 10 +it : gen `init 10 `next it ``` |
