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=none autolearn=disabled version=3.1.3 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 38489BB83 for ; Sat, 9 Sep 2006 02:33:42 +0200 (CEST) Received: from smtp.syd.people.net.au (smtp.syd.people.net.au [218.214.225.98]) by concorde.inria.fr (8.13.6/8.13.6) with SMTP id k890XcC7005056 for ; Sat, 9 Sep 2006 02:33:41 +0200 Received: (qmail 20298 invoked from network); 9 Sep 2006 00:33:41 -0000 Received: from unknown (HELO coltrane.mega-nerd.net) (218.214.64.136) by smtp.syd.people.net.au with SMTP; 9 Sep 2006 00:33:41 -0000 Received: from coltrane (coltrane [192.168.1.101]) by coltrane.mega-nerd.net (Postfix) with SMTP id 1D47B7ADA for ; Sat, 9 Sep 2006 10:33:33 +1000 (EST) Date: Sat, 9 Sep 2006 10:33:32 +1000 From: Erik de Castro Lopo To: caml-list@inria.fr Subject: Memoization Message-Id: <20060909103332.0397efea.mle+ocaml@mega-nerd.com> Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.18; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 45020BE2.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 memoization:01 memoization:01 ocaml:01 polymorphism:01 memoize:01 cheers:01 loyal:98 religion:98 saudi:98 2006:98 polymorphic:01 modules:02 erik:04 erik:04 Hi all, While searching Google for info about memoization I found this Slashdot post: http://developers.slashdot.org/comments.pl?sid=142494&cid=11942528 which states: I simply Googled for "memoization Ocaml" and found that code: http://www.emeraldtiger.net/modules.php?op= modload &name=News&file=article&sid=9 The author pointed out how "sweet" polymorphism is... one block of code that can be used to memoize any function. Unfortunately, the URL is dead. Does anybody have another link for that code or some other polymorphic memoizer? Cheers, Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "It is forbidden for a Muslim to be a loyal friend to someone who does not believe in God and His Prophet, or someone who fights the religion of Islam." -- Fifth grade text book from Saudi Arabia http://www.washingtonpost.com/wp-dyn/content/article/2006/05/19/AR2006051901769_pf.html