We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 026be41 commit c9caa7eCopy full SHA for c9caa7e
docs/docs/internals/syntax.md
@@ -273,7 +273,7 @@ TypeCaseClause ::= ‘case’ InfixType ‘=>’ Type [nl]
273
Pattern ::= Pattern1 { ‘|’ Pattern1 } Alternative(pats)
274
Pattern1 ::= Pattern2 [‘:’ RefinedType] Bind(name, Typed(Ident(wildcard), tpe))
275
| ‘given’ PatVar ‘:’ RefinedType
276
-Pattern2 ::= [id ‘@’] InfixPattern Bind(name, pat)
+Pattern2 ::= [id ‘as’] InfixPattern Bind(name, pat)
277
InfixPattern ::= SimplePattern { id [nl] SimplePattern } InfixOp(pat, op, pat)
278
SimplePattern ::= PatVar Ident(wildcard)
279
| Literal Bind(name, Ident(wildcard))
0 commit comments