From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 D952EBB94 for ; Mon, 3 Oct 2005 03:13:06 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j931D6h4023658 for ; Mon, 3 Oct 2005 03:13:06 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id DAA31220 for ; Mon, 3 Oct 2005 03:13:05 +0200 (MET DST) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j931D4in002213 for ; Mon, 3 Oct 2005 03:13:05 +0200 Received: by zproxy.gmail.com with SMTP id f1so194500nzc for ; Sun, 02 Oct 2005 18:13:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=plRfwun/XRi+Uo9ccdCvaFWs8qUL787vAVVh6rAa2l1QfY/teTesoidn5/rHnmAg0WpDNxhG9ttq0zMSQW0jtPx4HveeOl+U7xkIQOOi32GfrhSlEkTgyK7NUZibeBN/6mGdyyKnG3fcOM2T06eFfgeSQBXXBDGmdWCw30MjroI= Received: by 10.36.79.6 with SMTP id c6mr489516nzb; Sun, 02 Oct 2005 18:13:03 -0700 (PDT) Received: by 10.36.250.42 with HTTP; Sun, 2 Oct 2005 18:13:03 -0700 (PDT) Message-ID: Date: Sun, 2 Oct 2005 20:13:03 -0500 From: "Seth J. Fogarty" Reply-To: "Seth J. Fogarty" To: caml-list Subject: Re: Ant: Re: Ant: Re: [Caml-list] Avoiding shared data In-Reply-To: <1128300118.10449.136.camel@rosella> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051001210520.64728.qmail@web26809.mail.ukl.yahoo.com> <1128300118.10449.136.camel@rosella> X-Miltered: at concorde with ID 434085A2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 434085A0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 avoiding:01 recursive:01 stack:01 compilers:01 wrote:01 wrote:01 sourceforge:01 tail:01 data:02 functional:02 functional:02 cps:02 pal-kristian:03 optimization:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 On 10/2/05, skaller wrote: > On Sat, 2005-10-01 at 23:05 +0200, Martin Chabr wrote: > > Hello Pal-Kristian, > > > > I agree with you that functional code written in a > > tail recursive style is hard to read. Sometimes you > > have to do it that way if you want to avoid a stack > > overflow. > > > > I hope that one day functional language compilers will > > do that optimization for you - convert a > > non-tail-recursive code into a tail-recursive one. Do > > you know of some progress in that direction? > > Isn't that just CPS? -- Seth Fogarty sfogarty@[gmail.com|rice.edu|livejournal] Neep-neep at large AIM: Sorrath "I know there are people in this world who do not love their fellow human beings - and I hate people like that" --Tom Lehrer.