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.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 4ED5CBC68 for ; Mon, 13 Nov 2006 22:06:26 +0100 (CET) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id kADL6Pxc002850 for ; Mon, 13 Nov 2006 22:06:26 +0100 Received: by nf-out-0910.google.com with SMTP id m19so13543nfc for ; Mon, 13 Nov 2006 13:06:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Gx26SYqGNy3mPzNKLf9qoJFZ6ycB2I2Je+cfG7P6rVsjf6AooZXsXlqeh9erriK3hP+QQLaq6YJZdH8Hu4ar/JC/mUQ/J3IdshZV131TebCWW4OJQMPckcJXJpngUPHWvgwXy0qylrFLOXPYQftVB9C4N7XYoDXTRKP0DaEaCUY= Received: by 10.82.136.4 with SMTP id j4mr10912bud.1163451983304; Mon, 13 Nov 2006 13:06:23 -0800 (PST) Received: by 10.82.153.16 with HTTP; Mon, 13 Nov 2006 13:06:22 -0800 (PST) Message-ID: <9d3ec8300611131306m3864549v4ac6f204b27b2519@mail.gmail.com> Date: Mon, 13 Nov 2006 22:06:22 +0100 From: "Till Varoquaux" To: "Karl Zilles" Subject: Re: [Caml-list] Simple idea for making a function infix Cc: caml-list@inria.fr In-Reply-To: <4558D62E.2070403@1969web.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1EB857FD-F706-419C-9181-D45DEA88B756@mist.i.u-tokyo.ac.jp> <9d3ec8300611130819q7e13d5f4mb84b9fb1a2ac74ae@mail.gmail.com> <1163440715.5452.12.camel@rosella.wigram> <9d3ec8300611131029q482cbc73g5cfcf33c4828e18e@mail.gmail.com> <4558D62E.2070403@1969web.com> X-j-chkmail-Score: MSGID : 4558DE51.001 on discorde : j-chkmail score : X : 0/20 1 X-Miltered: at discorde with ID 4558DE51.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; infix:01 christophe:01 .....:98 garbage:01 wrote:01 wrote:01 caml-list:01 int:01 int:01 seems:03 let:03 let:03 absent:04 indeed:07 mean:08 My mistake... Sorry, seems like I've been very absent minded today... Till On 11/13/06, Karl Zilles wrote: > Till Varoquaux wrote: > > First of all, sorry for the garbage on top of my last mail: > > my computer hates me > > > > -to Jean Christophe: indeed, that's actually the composition function..... > > -to skaller: Hum, I *should* have tested more thoroughly my "solution": > > > > let ( /* ) x y = y x > > and ( */ ) x y = x y > > > > let sub = (-) > > > > 4 /*sub 5 > > (* is -1 *) > > 4 /*sub*/ 5 > > (* is 1 *) > > You mean exactly the opposite, right? > > # 4 /*sub 5 > - : int = 1 > # 4 /*sub*/ 5 > - : int = -1 > > Pardon if I'm just not keeping up with the conversation. > >