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 70404BB81 for ; Wed, 8 Mar 2006 22:56:17 +0100 (CET) Received: from mail.physik.uni-muenchen.de (mail.physik.uni-muenchen.de [192.54.42.129]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k28LuGZv002709 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 8 Mar 2006 22:56:17 +0100 Received: from localhost (unknown [127.0.0.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 8739C20017; Wed, 8 Mar 2006 22:56:16 +0100 (CET) Received: from mail.physik.uni-muenchen.de ([127.0.0.1]) by localhost (mail.physik.uni-muenchen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05739-01-76; Wed, 8 Mar 2006 22:56:16 +0100 (CET) Received: from mailhost.cip.physik.uni-muenchen.de (kaiser.cip.physik.uni-muenchen.de [141.84.136.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 6BD5D20008; Wed, 8 Mar 2006 22:56:16 +0100 (CET) Received: from aso.cip.physik.uni-muenchen.de (eiger.cip.physik.uni-muenchen.de [141.84.136.54]) by mailhost.cip.physik.uni-muenchen.de (Postfix) with ESMTP id BC40326E87; Wed, 8 Mar 2006 22:56:15 +0100 (CET) Received: by aso.cip.physik.uni-muenchen.de (Postfix, from userid 3092) id 53422C8671; Wed, 8 Mar 2006 22:56:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by aso.cip.physik.uni-muenchen.de (Postfix) with ESMTP id 4D33CD06B2; Wed, 8 Mar 2006 22:56:15 +0100 (CET) Date: Wed, 8 Mar 2006 22:56:15 +0100 (CET) From: Thomas Fischbacher To: mboconnor@acm.org Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] recursive or loop In-Reply-To: <440F2B63.6000007@earthlink.net> Message-ID: References: <200603061715.k26HF32w015203@nez-perce.inria.fr> <200603061925.35321.micha-1@fantasymail.de> <440F2B63.6000007@earthlink.net> X-BOFH: Daemons did it MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: amavisd-new at physik.uni-muenchen.de X-Miltered: at concorde with ID 440F5300.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; recursive:01 stack:01 lambda:01 lambda:01 cip:98 cip:98 heap:01 wrote:01 caml-list:01 closure:01 debian:02 physik:02 physik:02 cps:02 gnu:02 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=SPF_FAIL autolearn=disabled version=3.0.3 On Wed, 8 Mar 2006, Matthew O'Connor wrote: > > No it does not. But never mind. It would not help either. > > Doesn't CPS enable you to basically keep the entire call stack (or > equivalent) in the heap? Yes, it does. > Can you explain why it wouldn't help? Thanks. You still would have to write out a closure if you want to write all the state to disk. -- regards, tf@cip.physik.uni-muenchen.de (o_ Thomas Fischbacher - http://www.cip.physik.uni-muenchen.de/~tf //\ (lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y) V_/_ (if (= x 0) y (g g (- x 1) (* x y)))) n 1)) (Debian GNU)