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=0.4 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 2DB4FBBC1 for ; Thu, 24 Apr 2008 17:52:53 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlQEANFJEEhVDf8pZWdsb2JhbACRVBICHpsc X-IronPort-AV: E=Sophos;i="4.25,704,1199660400"; d="scan'208";a="11397768" Received: from colo3.ukhost4u.com ([85.13.255.41]) by mail1-smtp-roc.national.inria.fr with ESMTP; 24 Apr 2008 17:52:52 +0200 Received: from [91.84.124.100] (helo=[192.168.0.5]) by colo3.ukhost4u.com with esmtpa (Exim 4.68) (envelope-from ) id 1Jp3kg-0007gY-9S; Thu, 24 Apr 2008 16:52:50 +0100 Cc: Caml Message-Id: <9AA053A7-5131-437C-80DF-86B2497B0859@coherentgraphics.co.uk> From: John Whitington To: David Teller In-Reply-To: <1209052182.6180.35.camel@Blefuscu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [Caml-list] [OSR] Standard syntax extensions ? Date: Thu, 24 Apr 2008 16:52:50 +0100 References: <1209052182.6180.35.camel@Blefuscu> X-Mailer: Apple Mail (2.919.2) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - colo3.ukhost4u.com X-AntiAbuse: Original Domain - yquem.inria.fr X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - coherentgraphics.co.uk X-Spam: no; 0.00; syntax:01 camlp:01 wrote:01 syntactic:01 caml-list:01 graphics:02 i'd:06 coherent:06 apr:06 standard:07 missing:07 function:08 rather:08 john:08 john:08 On 24 Apr 2008, at 16:49, David Teller wrote: > * what kind of syntactic sugar is absolutely missing from the > language ? I'd like a keyword "matches", so I can write map (matches (0, _, _)) l rather than map (function (0, _, _) -> true | _ -> false) l Had anyone done that or similar in camlp4? -- John Whitington Coherent Graphics Ltd http://www.coherentpdf.com/