From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 3D753BC88 for ; Wed, 9 Feb 2005 05:13:42 +0100 (CET) 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 j194Dfss028729 for ; Wed, 9 Feb 2005 05:13:41 +0100 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 FAA18277 for ; Wed, 9 Feb 2005 05:13:41 +0100 (MET) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j194DdCF015849 for ; Wed, 9 Feb 2005 05:13:40 +0100 Received: from [192.168.1.200] (ppp212-197.lns2.syd3.internode.on.net [203.122.212.197]) by smtp3.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id j194DNim002171; Wed, 9 Feb 2005 14:43:34 +1030 (CST) Subject: Re: [Caml-list] ackermann test From: skaller Reply-To: skaller@users.sourceforge.net To: Michael Walter Cc: caml-list In-Reply-To: <877e9a170502082009591db0b4@mail.gmail.com> References: <1107921472.5022.410.camel@pelican.wigram> <877e9a170502082009591db0b4@mail.gmail.com> Content-Type: text/plain Message-Id: <1107922403.5022.426.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 09 Feb 2005 15:13:23 +1100 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 42098DF5.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 42098DF3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ackermann:01 sourceforge:01 wrote:01 glebe:01 061:98 nsw:01 ack:01 ack:01 int:01 int:01 snail:02 2037:02 programming:03 wed:07 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Wed, 2005-02-09 at 15:09, Michael Walter wrote: > Where can I find the C code you are using? int ack(int x, int y) { return x==0? y+1: (y==0? ack(x-1,1):ack(x-1,ack(x,y-1))); } -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net