-1 from me as well. Too confusing
> On Jan 27, 2017, at 3:32 PM, Guillaume Laforge <glafo...@gmail.com> wrote: > > You're not afraid of potential asciiart abuse? > > On Fri, Jan 27, 2017 at 9:27 PM, Krzysztof Kowalczyk > <kowalczyk.krzysz...@gmail.com <mailto:kowalczyk.krzysz...@gmail.com>> wrote: > -1 > > but I would like to have some extra operators for AST transformation that are > reserved, have priority and does not have assigned logic, for instance =>, > |>, @@, ^^, <-, := etc > > On 27 January 2017 at 08:18, Graeme Rocher <graeme.roc...@gmail.com > <mailto:graeme.roc...@gmail.com>> wrote: > -1 from me, not immediately obvious what it does and seems like it > would just confuse users for little syntactic gain. > > On Thu, Jan 26, 2017 at 5:27 PM, Daniel Sun <realblue...@hotmail.com > <mailto:realblue...@hotmail.com>> wrote: > > Hi all, > > > > The new parser(Parrot) supports "implies" operator(=>) now, e.g. > > > > // if and only if isDistributedTxFailed is true and isCompensated is false, > > yields notConsistent. > > if (isDistributedTxFailed => isCompensated) { > > println 'eventuallyConsistent ' > > } else { > > println 'notConsistent' > > } > > > > // One more example: > > if (itIsRaining => iAmUsingUmbrella) { > > println 'I am dry' > > } else { > > println 'I am wet' > > } > > > > *More examples can be found at:* > > 1) > > https://github.com/danielsun1106/groovy-parser/blob/impliesOperator/src/test/resources/core/ImpliesOp_01x.groovy > > > > <https://github.com/danielsun1106/groovy-parser/blob/impliesOperator/src/test/resources/core/ImpliesOp_01x.groovy> > > 2) > > https://github.com/danielsun1106/groovy-parser/blob/impliesOperator/src/test/resources/core/ImpliesOp_02x.groovy > > > > <https://github.com/danielsun1106/groovy-parser/blob/impliesOperator/src/test/resources/core/ImpliesOp_02x.groovy> > > 3) > > https://github.com/danielsun1106/groovy-parser/blob/impliesOperator/src/test/resources/core/ImpliesOp_03x.groovy > > > > <https://github.com/danielsun1106/groovy-parser/blob/impliesOperator/src/test/resources/core/ImpliesOp_03x.groovy> > > > > *Background of the "implies" operator(=>) :* > > http://mathworld.wolfram.com/Implies.html > > <http://mathworld.wolfram.com/Implies.html> > > *Please let us know whether you like it, vote here: > > *https://twitter.com/daniel_sun/status/824552059395465218 > > <https://twitter.com/daniel_sun/status/824552059395465218> > > > > Cheers, > > Daniel.Sun > > > > > > > > -- > > View this message in context: > > http://groovy.329449.n5.nabble.com/VOTE-About-the-implies-operator-for-Groovy-3-tp5738129.html > > > > <http://groovy.329449.n5.nabble.com/VOTE-About-the-implies-operator-for-Groovy-3-tp5738129.html> > > Sent from the Groovy Users mailing list archive at Nabble.com. > > > > -- > Graeme Rocher > > > > > -- > Guillaume Laforge > Apache Groovy committer & PMC Vice-President > Developer Advocate @ Google Cloud Platform > > Blog: http://glaforge.appspot.com/ <http://glaforge.appspot.com/> > Social: @glaforge <http://twitter.com/glaforge> / Google+ > <https://plus.google.com/u/0/114130972232398734985/posts>