Add a yield keyword

This commit is contained in:
Nigel Tao committed 2017-12-01 15:24:48 +11:00
1 parent 93665d50fe
commit 65dcf6a5b9
19 files changed
+122 -89

No files matched your search

+2 -1
View File
@@ -27,7 +27,7 @@ be enclosed by curly `{}`s. There is no 'dangling else' ambiguity.
- `pri`
- `pub`
7 keywords deal with control flow within a function:
8 keywords deal with control flow within a function:
- `break`
- `continue`
@@ -36,6 +36,7 @@ be enclosed by curly `{}`s. There is no 'dangling else' ambiguity.
- `iterate`
- `return`
- `while`
- `yield`
5 keywords deal with assertions: