From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 46267BCC3 for ; Tue, 30 Nov 2004 19:51:14 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iAUIpDDI010350 for ; Tue, 30 Nov 2004 19:51:14 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA19689 for ; Tue, 30 Nov 2004 19:51:13 +0100 (MET) Received: from imo-d01.mx.aol.com (imo-d01.mx.aol.com [205.188.157.33]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iAUIpC9T031461 for ; Tue, 30 Nov 2004 19:51:13 +0100 Received: from artboreb@netscape.net by imo-d01.mx.aol.com (mail_out_v37_r3.8.) id g.c2.e8a97ad (22683) for ; Tue, 30 Nov 2004 13:50:55 -0500 (EST) Received: from netscape.net (mow-d19.webmail.aol.com [205.188.139.135]) by air-in04.mx.aol.com (v103.7) with ESMTP id MAILININ44-589b41acc10f2ec; Tue, 30 Nov 2004 13:50:55 -0500 Date: Tue, 30 Nov 2004 13:50:55 -0500 From: artboreb@netscape.net (Arturo Borquez) To: caml-list@inria.fr Subject: infix operator for the revised syntax MIME-Version: 1.0 Message-ID: <29C8881F.307FAC54.00958B05@netscape.net> X-Mailer: Atlas Mailer 2.0 X-AOL-IP: 200.90.198.188 X-AOL-Language: english Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at nez-perce with ID 41ACC121.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 41ACC120.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; infix:01 syntax:01 camlers:01 syntax:01 infix:01 ...:98 ...:98 toolbar:98 revised:02 revised:02 parenthesis:03 let:03 let:03 annoying:05 install:05 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=1.9 required=5.0 tests=FORGED_RCVD_HELO, RCVD_IN_BL_SPAMCOP_NET autolearn=disabled version=3.0.0 X-Spam-Level: * Dear Camlers, I've failed do do a syntax extention to the revised syntax in order to get a *real* infix operator for function concatenation in order to avoid excessive parenthesis. example with lists (silly) let ( $ ) f g = g (f);; (* provided by normal syntax works fine *) let r = List.map ... a_list $ List.sort ... $ List.fold_left ... in .. (* that's i whant to write with the revised syntax *) let r = List_fold_left ... ((List.sort ...) List.map ... a_list) in .. thanks in advance -- Arturo Borquez __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp