We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51654f0 commit d249111Copy full SHA for d249111
docs/docs/reference/syntax.md
@@ -258,7 +258,7 @@ ForExpr ::= ‘for’ (‘(’ Enumerators ‘)’ | ‘{’ Enumerat
258
| ‘for’ Enumerators (‘do’ Expr | ‘yield’ Expr) ForDo(enums, expr)
259
Enumerators ::= Generator {semi Enumerator | Guard}
260
Enumerator ::= Generator
261
- | Guard
+ | Guard {Guard}
262
| Pattern1 ‘=’ Expr GenAlias(pat, expr)
263
Generator ::= [‘case’] Pattern1 ‘<-’ Expr GenFrom(pat, expr)
264
Guard ::= ‘if’ PostfixExpr
0 commit comments