I find this very hard to decipher. The fact we wonder about the semantics is a red warning to me. I wouldn't add those to the language.
Le 22 nov. 2016 12:18, "Daniel Sun" <realblue...@hotmail.com> a écrit : > Hi Jochen, > > According to your proposals, I'm going to add the following operators: > > 1) !&& a !&& b === !(a && b) > 2) !|| a !|| b === !(a || b) > 3) !& a !& b === !(a & b) > 4) !| a !| b === !(a | b) > 5) ~& a ~& b === ~(a & b) > 6) ~| a ~| b === ~(a | b) > > Could you confirm whether the semantics of these operators are right > or not? > > Thanks, > Daniel.Sun > > > > -- > View this message in context: http://groovy.329449.n5.nabble.com/Negative- > relational-operators-for-Groovy-3-tp5736809p5736882.html > Sent from the Groovy Dev mailing list archive at Nabble.com. >