Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Pierre Weis <pierre.weis@inria.fr>
To: contact@metalscan.fr (Metalscan)
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] self and mutually recursive functions ?
Date: Thu, 10 Oct 2002 19:19:46 +0200 (MET DST)	[thread overview]
Message-ID: <200210101719.TAA07660@pauillac.inria.fr> (raw)
In-Reply-To: <20021010154738.GA12586@rhinoceros.mts> from Metalscan at "Oct 10, 102 05:47:38 pm"

> 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


  reply	other threads:[~2002-10-10 17:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-10 15:47 Metalscan
2002-10-10 17:19 ` Pierre Weis [this message]
2002-10-10 17:59 ` Michel Quercia
2002-10-11 10:19 ` Pietro Abate

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200210101719.TAA07660@pauillac.inria.fr \
    --to=pierre.weis@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=contact@metalscan.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox