Return-Path: X-Original-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3292D6804 for ; Mon, 4 Jul 2011 11:01:01 +0000 (UTC) Received: (qmail 9994 invoked by uid 500); 4 Jul 2011 11:01:00 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 9911 invoked by uid 500); 4 Jul 2011 11:00:58 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 9903 invoked by uid 99); 4 Jul 2011 11:00:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 11:00:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.175] (HELO mail-iw0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 11:00:46 +0000 Received: by iwn4 with SMTP id 4so4744123iwn.6 for ; Mon, 04 Jul 2011 04:00:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.114.206 with SMTP id f14mr1048619ibq.104.1309777225423; Mon, 04 Jul 2011 04:00:25 -0700 (PDT) Sender: reto@trialox.org Received: by 10.231.10.199 with HTTP; Mon, 4 Jul 2011 04:00:25 -0700 (PDT) X-Originating-IP: [194.230.156.94] In-Reply-To: <8B032798-EEF8-4B4B-A7EC-A67ECAB4AD7B@bblfish.net> References: <8B032798-EEF8-4B4B-A7EC-A67ECAB4AD7B@bblfish.net> Date: Mon, 4 Jul 2011 13:00:25 +0200 X-Google-Sender-Auth: S95ohjpH9QL6fK2LEWpbcPDQIj8 Message-ID: Subject: Re: EzGraph From: Reto Bachmann-Gmuer To: Henry Story Cc: clerezza-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=001485f9a4c2419d7004a73c4661 X-Virus-Checked: Checked by ClamAV on apache.org --001485f9a4c2419d7004a73c4661 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Jul 1, 2011 at 5:48 PM, Henry Story wrote= : > On 1 Jul 2011, at 17:24, reto@apache.org checked in > > > URL: http://svn.apache.org/viewvc?rev=3D1141963&view=3Drev > Log: > CLEREZZA-510: using <-- instead of -<- for inverse properties > > > Did you read the documentation for why I chose -<- ? > Yes I did read the comment. I just found the asymmetry uglier than requirin= g them to be used in the right orde (or repeat the subject, see test). > The reason is that with <-- you change the priority of the operators and = so > things get more > complicated for the developer to work with, > I don't think it gets much more complicated the only thing to remember is that the inverse properties must follow forward properties and not the othe= r way round, there's a comment on this in test. If you have a strong preference for the other variant I could roll back tha= t commit. Reto > as he has to remember carefully the following > >
> The precedence of an infix operator is determined by the operator= =E2=80=99s > first character. > Characters are listed below in increasing order of precedence, with > characters on > the same line having the same precedence. > (all letters) > | > ^ > & > < > > =3D ! > : > + - > * / % > (all other special characters) > > That is, operators starting with a letter have lowest precedence, > followed by operators > starting with =E2=80=98|=E2=80=99, etc. > There=E2=80=99s one exception to this rule, which concerns assignment > operators(=C2=A76.12.4). > The precedence of an assigment operator is the same as the one of > simple assignment > (=3D). That is, it is lower than the precedence of any other operator= . > The associativity of an operator is determined by the operator=E2=80= =99s last > character. Operators > ending in a colon =E2=80=98:=E2=80=99 are right-associative. All othe= r operators are > leftassociative. >
> > > > Henry > > --001485f9a4c2419d7004a73c4661--