From 1de552d713b0c1671257f1951cac2e98e99a446f Mon Sep 17 00:00:00 2001 From: Gaith Hallak Date: Wed, 3 Aug 2022 14:52:32 +0400 Subject: [PATCH] Fix typos --- docs/sophia_syntax.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/sophia_syntax.md b/docs/sophia_syntax.md index ce2a0a8..08dbee3 100644 --- a/docs/sophia_syntax.md +++ b/docs/sophia_syntax.md @@ -260,12 +260,12 @@ UnOp ::= '-' | '!' | Operators | Type | --- | --- | `-` `+` `*` `/` `mod` `^` | arithmetic operators -| `!` `&&` `\|\|` | logical operators +| `!` `&&` `||` | logical operators | `==` `!=` `<` `>` `=<` `>=` | comparison operators | `::` `++` | list operators -| `\|>` | functional operators +| `|>` | functional operators -## Operator precendences +## Operator precedence In order of highest to lowest precedence. @@ -279,5 +279,5 @@ In order of highest to lowest precedence. | `::` `++` | right | `<` `>` `=<` `>=` `==` `!=` | none | `&&` | right -| `\|\|` | right -| `\|>` | left +| `||` | right +| `|>` | left