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_NEUTRAL 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 E5185BC69 for ; Sun, 13 May 2007 00:54:33 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4CMsXWV020550 for ; Sun, 13 May 2007 00:54:33 +0200 Received: by nz-out-0506.google.com with SMTP id l8so1456654nzf for ; Sat, 12 May 2007 15:54:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BncA/16vOtDdoZI9AxmIsm12aV3YkoY/CfUXL1MSn+37eOza+L8K/B1c2nkVWys5jOGoY5EcZtsIY16AQE1Ves2eO3D4bxH1rP0Agc4NV8CZOHpP0LUmv0RnHhyAE6sn4OmtQD8B4bmuyuxl7RVgpldkFKZxVtr4iOrxsJL1DEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TLOvj9JBANlNiqlAO9iADVBy4+FQYgsT34I5cGhqfKtBAMjUfMtWnxhqrUNOqnl6Syl3k8a54S85uaM0ptGro2IzHBZGY194fLvMiz5GtDCIjBwl0KvfObVcbMaANkcghjJTF2SSfy7UdYTr0NpGvvHMe8rDkNbb4EHpgFuY8PE= Received: by 10.114.200.2 with SMTP id x2mr388616waf.1179010472478; Sat, 12 May 2007 15:54:32 -0700 (PDT) Received: by 10.114.183.4 with HTTP; Sat, 12 May 2007 15:54:32 -0700 (PDT) Message-ID: Date: Sun, 13 May 2007 00:54:32 +0200 From: "Nicolas Pouillard" To: brogoff Subject: Re: [Caml-list] Custom operators in the revised syntax Cc: caml-list@inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1884660607.20070511161455@moldavcable.com> X-j-chkmail-Score: MSGID : 464645A9.000 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 464645A9.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; syntax:01 haskell:01 infix:01 foo:01 2007,:98 harmless:98 wrote:01 wrote:01 caml-list:01 speakeasy:01 speakeasy:01 define:01 revised:02 fri:05 extension:05 On 5/11/07, brogoff wrote: > On Fri, 11 May 2007, Nicolas Pouillard wrote: > > On 5/11/07, brogoff wrote: > > > Any chance we could have something like in Haskell where you easily > > > define new infix names? > > > > Something general like: x `foo` y ? > > Exactly. > I've a tiny patch to do that: 2 ``List.mem`` [1;2;3] I think that extension harmless, any thoughts? -- Nicolas Pouillard