summaryrefslogtreecommitdiff
path: root/docs/syntax.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/syntax.md')
-rw-r--r--docs/syntax.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/syntax.md b/docs/syntax.md
index 8be80a6..73da567 100644
--- a/docs/syntax.md
+++ b/docs/syntax.md
@@ -110,8 +110,7 @@ add `sync (1; 2)
```text
gen : ^{[I64 n]
@ 1 .. n {[x] `yield x }
- `stop
}
-it : gen `init 10
+it : gen `sync 10
`next it
```