Change '=' to '::=' in GuardedDef

This commit is contained in:
Gaith Hallak 2022-08-03 14:11:16 +04:00
parent 7623cc2f35
commit 47d027c73f

View File

@ -106,7 +106,7 @@ FunDecl ::= Id ':' Type // Type signature
| Id Args [':' Type] '=' Block(Stmt) // Definition | Id Args [':' Type] '=' Block(Stmt) // Definition
| Id Args [':' Type] Block(GuardedDef) // Guarded definitions | Id Args [':' Type] Block(GuardedDef) // Guarded definitions
GuardedDef = '|' Sep1(Expr, ',') '=' Block(Stmt) GuardedDef ::= '|' Sep1(Expr, ',') '=' Block(Stmt)
PragmaOp ::= '<' | '=<' | '==' | '>=' | '>' PragmaOp ::= '<' | '=<' | '==' | '>=' | '>'
Version ::= Sep1(Int, '.') Version ::= Sep1(Int, '.')