From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 85424BB9C for ; Fri, 20 Jan 2006 17:18:13 +0100 (CET) Received: from ux9.sp.cs.cmu.edu (UX9.SP.CS.CMU.EDU [128.2.220.166]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id k0KGICve000612 for ; Fri, 20 Jan 2006 17:18:13 +0100 Received: from c-24-3-154-200.hsd1.pa.comcast.net ([24.3.154.200]) by ux9.sp.cs.cmu.edu id aa28283; 20 Jan 2006 11:18 EST Received: from ecc by stratocaster.home with local (Exim 4.60) (envelope-from ) id 1Ezyxd-0003oW-CC for caml-list@yquem.inria.fr; Fri, 20 Jan 2006 11:18:01 -0500 Date: Fri, 20 Jan 2006 11:18:01 -0500 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Associativity of new operators Message-ID: <20060120161801.GB14589@localhost> Mail-Followup-To: caml-list@yquem.inria.fr References: <43D10AA1.8050102@barettadeit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43D10AA1.8050102@barettadeit.com> User-Agent: Mutt/1.5.11 From: Eric Cooper X-Miltered: at concorde with ID 43D10D44.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 baretta:01 toplevel:01 wrote:01 defined:01 alessandro:03 character:03 depends:04 fri:05 manual:06 edu:07 basically:08 rule:10 operator:10 operator:10 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Fri, Jan 20, 2006 at 05:06:57PM +0100, Alessandro Baretta wrote: > [...] > The above toplevel session shows that the associativity of newly defined > operators depends on the name of the operator itself. Is there a general > rule to determine the associativity of the operator? Section 6.7 of the manual. Basically, it's determined by the initial character, so @^$ will have the same associativity as @. -- Eric Cooper e c c @ c m u . e d u