From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_SOFTFAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 80E0ABC69 for ; Fri, 11 May 2007 16:47:45 +0200 (CEST) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4BElhiQ019071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 11 May 2007 16:47:44 +0200 Received: (qmail 96 invoked from network); 11 May 2007 14:47:41 -0000 Received: from shell2.sea5.speakeasy.net ([69.17.116.3]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 11 May 2007 14:47:41 -0000 Date: Fri, 11 May 2007 07:47:41 -0700 (PDT) From: brogoff To: Nicolas Pouillard Cc: caml-list@inria.fr Subject: Re: [Caml-list] Custom operators in the revised syntax In-Reply-To: Message-ID: References: <1884660607.20070511161455@moldavcable.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at concorde with ID 4644820F.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; syntax:01 camlp:01 syntax:01 patching:01 syntaxes:01 haskell:01 infix:01 haskell:01 ocaml:01 syntactical:01 ocaml:01 2007,:98 guideline:98 wrote:01 caml-list:01 On Fri, 11 May 2007, Nicolas Pouillard wrote: > This seems reasonable, but that's more a guideline. The feature can be > present for that wants it. Moreover Camlp4 is about changing the > syntax, so one can buy the revised syntax without the fact of patching > syntaxes but features are here. Any chance we could have something like in Haskell where you easily define new infix names? Speaking of Haskell and Revised, one of the things I like about Revised over Ocaml syntax (that lots of people dislike it seems) is the additional bracketing. Most of the syntactical annoyances I have with Ocaml are usually connected with bracketing. Someone once quipped that all problems with ML syntax can be fixed with some parentheses, and I have to admit that quip makes sense. So I prefer Revised as an alternative syntax over Python/Haskell influenced approaches. -- Brian