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,DNS_FROM_RFC_POST autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id B1AE0BC6B for ; Tue, 18 Sep 2007 09:38:25 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPoc70bB/BYfkGdsb2JhbACBWIw4AgIHBAYPEQU X-IronPort-AV: E=Sophos;i="4.20,267,1186351200"; d="scan'208";a="2847907" Received: from smtp20.orange.fr ([193.252.22.31]) by mail3-smtp-sop.national.inria.fr with ESMTP; 18 Sep 2007 09:39:29 +0200 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2022.orange.fr (SMTP Server) with ESMTP id EE6DD1C0009E for ; Tue, 18 Sep 2007 09:39:28 +0200 (CEST) Received: from localhost.localdomain (Mix-Lyon-303-4-201.w193-248.abo.wanadoo.fr [193.248.106.201]) by mwinf2022.orange.fr (SMTP Server) with ESMTP id E2CB41C00093 for ; Tue, 18 Sep 2007 09:39:27 +0200 (CEST) X-ME-UUID: 20070918073927929.E2CB41C00093@mwinf2022.orange.fr Date: Tue, 18 Sep 2007 07:39:33 +0200 From: Fabrice Marchant To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Having '<<', why to use '|>' ? Message-ID: <20070918073933.3702220f@localhost.localdomain> In-Reply-To: <20070917222407.GB16678@jiyu.gnu> References: <20070917163617.0e6e0e7c@localhost.localdomain> <20070917222407.GB16678@jiyu.gnu> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.13; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; camlp:01 -impl:01 camlp:01 lenny:98 wrote:01 caml-list:01 quotations:03 let:03 debian:04 problem:05 tue:06 sep:06 indeed:07 0200:07 3.09:08 On Tue, 18 Sep 2007 00:24:07 +0200 Julien Moutinho wrote: > Hi, > > % cat f.ml4 > let ( << ) f g x = f @ g x > > % camlp4of -impl f.ml4 > File "ghost-location", line 1, characters 0-2: > Quotation not terminated Thanks for this. I didn't knew "camlp4of", staying cowardly with a 3.09 on a debian lenny (no camlp4-extra package). > Just to point out that << interferes with the quotations of Camlp4, > so maybe it is not really wise to use it. That is actually a problem indeed. What could be safely used as a composition operator instead ? ( <<< ) ? What else ? Regards, Fabrice