diff options
Diffstat (limited to 'docs/tutorial')
-rw-r--r-- | docs/tutorial/LangImpl6.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial/LangImpl6.html b/docs/tutorial/LangImpl6.html index 40334b031a..33f4adbdeb 100644 --- a/docs/tutorial/LangImpl6.html +++ b/docs/tutorial/LangImpl6.html @@ -97,7 +97,7 @@ def unary!(v) # Define > with the same precedence as <. def binary> 10 (LHS RHS) - !(LHS < RHS); # alternatively, could just use "RHS < LHS" + RHS < LHS; # Binary "logical or", (note that it does not "short circuit") def binary| 5 (LHS RHS) @@ -532,7 +532,7 @@ def unary-(v) # Define > with the same precedence as >. def binary> 10 (LHS RHS) - !(LHS < RHS); + RHS < LHS; # Binary logical or, which does not short circuit. def binary| 5 (LHS RHS) |