caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "AgEnT007" <agent007-fr@wanadoo.fr>
To: <caml-list@inria.fr>
Subject: [Caml-list] Débutant :)
Date: Mon, 22 Oct 2001 00:50:45 +0200	[thread overview]
Message-ID: <001401c15a82$d238a320$0a00a8c0@agent007st1> (raw)

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

Bonjour à tous,
je viens de me mettre cette aprés midi mëme au language CAML et je bute deja sur un exemple que j'ai trouvé :)

voici ce que j'ai:

let rec exemple_1 f a l =
if l = [] then a 
else exemple_1 f ( f a (List.hd l)) (List.tl l) ;;

j'ai compris l'utilité d'une telle declaration mais pas celle du < a > qui se trouve à la 3eme ligne.
Quelqu'un pourrait t'il m'éclairer sur la troisieme ligne?
Merci à tous, bonne nuit

Agent.

ps: désolé si je n'ai pas été clair :)

[-- Attachment #2: Type: text/html, Size: 1315 bytes --]

             reply	other threads:[~2001-10-21 22:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-21 22:50 AgEnT007 [this message]
2001-10-22  5:43 ` Remi VANICAT
2001-10-22  6:04   ` Remi VANICAT

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='001401c15a82$d238a320$0a00a8c0@agent007st1' \
    --to=agent007-fr@wanadoo.fr \
    --cc=caml-list@inria.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;
as well as URLs for NNTP newsgroup(s).