From: Chris Lattner Date: Fri, 23 Nov 2007 22:19:33 +0000 (+0000) Subject: !< is >=, not >. Thanks to Max Hailperin for pointing this out! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=61ad449be85ad31c46206caedc4a914d82695ceb;p=oota-llvm.git !< is >=, not >. Thanks to Max Hailperin for pointing this out! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44291 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/tutorial/LangImpl6.html b/docs/tutorial/LangImpl6.html index 40334b031a5..33f4adbdebb 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)