summaryrefslogtreecommitdiff
path: root/docs/tagging.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tagging.md')
-rw-r--r--docs/tagging.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tagging.md b/docs/tagging.md
index b7c0700..2c392d8 100644
--- a/docs/tagging.md
+++ b/docs/tagging.md
@@ -47,7 +47,7 @@ mu : `{[Bool i]
```text
// using the mu corotuine from above
-i : # mu `sync `false {
+i : # mu `sync `true {
.int {[i] i }
.float {[f] I64 f }
}
@@ -70,7 +70,7 @@ gen : ^{[I64 n]
`yield x
// above is alias for -> `yield.value x
}
- `done
+ // stopping is implicit, use `stop to explicitly end iterator
}
it : gen `init 10