From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA19515; Tue, 1 Jun 2004 13:43:31 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 NAA20079 for ; Tue, 1 Jun 2004 13:43:30 +0200 (MET DST) Received: from mail.physik.uni-muenchen.de (mail.physik.uni-muenchen.de [192.54.42.129]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i51BhTEV005167 for ; Tue, 1 Jun 2004 13:43:29 +0200 Received: from localhost (unknown [127.0.0.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id D8927202BA; Tue, 1 Jun 2004 11:43:28 +0000 (UTC) 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 05883-01-34; Tue, 1 Jun 2004 13:43:27 +0200 (CEST) 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 5AD7E202BB; Tue, 1 Jun 2004 13:43:27 +0200 (CEST) Received: from seekar.cip.physik.uni-muenchen.de (seekar.cip.physik.uni-muenchen.de [141.84.136.52]) by mailhost.cip.physik.uni-muenchen.de (Postfix) with ESMTP id 520C726E87; Tue, 1 Jun 2004 13:43:27 +0200 (CEST) Received: by seekar.cip.physik.uni-muenchen.de (Postfix, from userid 3092) id 4069F31394; Tue, 1 Jun 2004 13:43:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by seekar.cip.physik.uni-muenchen.de (Postfix) with ESMTP id 3E3E231393; Tue, 1 Jun 2004 13:43:27 +0200 (CEST) Date: Tue, 1 Jun 2004 13:43:27 +0200 (CEST) From: Thomas Fischbacher To: Hans Ole Rafaelsen Cc: caml-list@inria.fr Subject: Re: [Caml-list] Lazy recomputing In-Reply-To: <200406011207.33006.hans@simula.no> Message-ID: References: <200406011207.33006.hans@simula.no> X-BOFH: Daemons did it MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at physik.uni-muenchen.de X-Miltered: at nez-perce with ID 40BC6BE1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; physik:01 caml-list:01 cip:99 physik:01 cip:99 lazy:02 laziness:02 dependent:03 trick:03 gnu:05 www:91 something:09 debian:09 uni-muenchen:11 values:11 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Is there some trick to get it recomputed, other that keep a list of all > dependent values, and "refresh" the table whenever some value is updated? This is not what the general concept of laziness is about. You need something different. -- 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) ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners