Update Sophia syntax docs to include missing information about existing syntax #896
@ -106,7 +106,7 @@ FunDecl ::= Id ':' Type // Type signature
|
||||
| Id Args [':' Type] '=' Block(Stmt) // Definition
|
||||
| Id Args [':' Type] Block(GuardedDef) // Guarded definitions
|
||||
|
||||
GuardedDef = '|' Sep(Expr, ',') '=' Block(Stmt)
|
||||
GuardedDef = '|' Sep1(Expr, ',') '=' Block(Stmt)
|
||||
|
||||
PragmaOp ::= '<' | '=<' | '==' | '>=' | '>'
|
||||
Version ::= Sep1(Int, '.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user