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.0 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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 1F572BC69 for ; Sat, 20 Oct 2007 00:35:36 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAC7OGEfUnw6Dnmdsb2JhbACCOIwcAQEBAQcEBik X-IronPort-AV: E=Sophos;i="4.21,302,1188770400"; d="scan'208";a="4869469" Received: from pih-relay04.plus.net ([212.159.14.131]) by mail3-smtp-sop.national.inria.fr with ESMTP; 20 Oct 2007 00:35:36 +0200 Received: from [80.229.56.224] (helo=beast.local) by pih-relay04.plus.net with esmtp (Exim) id 1Ij0RL-0004m8-Sh for caml-list@yquem.inria.fr; Fri, 19 Oct 2007 23:35:35 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Re: Help me find this pdf Date: Fri, 19 Oct 2007 23:27:07 +0100 User-Agent: KMail/1.9.7 References: <200710181818.31430.jon@ffconsultancy.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200710192327.07344.jon@ffconsultancy.com> X-Spam: no; 0.00; haskell:01 ocaml:01 frog:98 wrote:01 caml-list:01 lazy:02 match:02 pattern:04 matching:05 indeed:07 quite:08 basically:10 actually:10 sort:12 definitely:12 On Friday 19 October 2007 06:09:02 B=E1r=F0ur =C1rantsson wrote: > What you're saying is basically that lazy pattern matching should only > force as much of the value under examination as is actually necessary to > decide if there's a match. Do I have that right? Exactly right, yes. > If so, then Haskell does exactly this. Yes. > You're definitely right that doing anything of this sort is currently > quite painful in OCaml. Indeed. =2D-=20 Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/products/?e