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 TAA07866; Thu, 10 Oct 2002 19:19:48 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA07538 for ; Thu, 10 Oct 2002 19:19:48 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g9AHJl500822; Thu, 10 Oct 2002 19:19:47 +0200 (MET DST) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA07660; Thu, 10 Oct 2002 19:19:46 +0200 (MET DST) From: Pierre Weis Message-Id: <200210101719.TAA07660@pauillac.inria.fr> Subject: Re: [Caml-list] self and mutually recursive functions ? In-Reply-To: <20021010154738.GA12586@rhinoceros.mts> from Metalscan at "Oct 10, 102 05:47:38 pm" To: contact@metalscan.fr (Metalscan) Date: Thu, 10 Oct 2002 19:19:46 +0200 (MET DST) Cc: caml-list@inria.fr X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Hello all of you ! > > I'm wondering wether it is possible or not to have > to functions defined wich are both mutually recursive > and simply recursive. > > In each of them, there would be a match with one > branch returning itself and the other one returning > the other function. > > Thanks for your help. > > Matthieu Dubuget Typically a FAQ question. Look at FAQ: http://caml.inria.fr/FAQ/ If this is not enough, post to the beginners group at http://groups.yahoo.com/group/ocaml_beginners All the best for learning Caml. Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/ ------------------- 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