summaryrefslogtreecommitdiff
path: root/docs/syntax.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-09-18 12:56:34 -0400
committernodist <kevin.comas.git@gmail.com>2026-09-18 12:56:34 -0400
commitd6624dece8cd3de26a5f3e8c1e7c018ffc8870b7 (patch)
tree5c68ffb99e61a42bd20526229a45cdddd6a35657 /docs/syntax.md
parent8c1449a96ea2e8960fdca9dad9f6dcfe083a6235 (diff)
call fork syntax
Diffstat (limited to 'docs/syntax.md')
-rw-r--r--docs/syntax.md4
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
```