diff --git a/docs/sophia_syntax.md b/docs/sophia_syntax.md index 6cdd9c8..a49eb0e 100644 --- a/docs/sophia_syntax.md +++ b/docs/sophia_syntax.md @@ -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, '.')