From: Jeremy Fix <Jeremy.Fix@Supelec.fr>
To: caml-list@inria.fr
Subject: [Caml-list] Morpion et évaluation paresseuse
Date: Mon, 19 Sep 2011 10:18:41 +0200 [thread overview]
Message-ID: <4E76FAE1.1080504@Supelec.fr> (raw)
Bonjour,
En m'inspirant du papier de Hughes (1990): "Why functional programming
matters", j'ai écrit une page sous la forme d'un sujet de TP pour coder
l'algorithme minimax et alpha-beta pour résoudre le jeu de Morpion en
voulant illustrer l'évaluation paresseuse et en se passant le plus
possible des mots clefs impératifs (notemment les boucles) et sans
utiliser les mots clefs d'évaluation paresseuse de Caml (Lazy.force, ..)
Ca se trouve ici : http://jeremy.fix.free.fr/spip.php?article32
La solution se trouve tout en bas de la page.
Toutes les critiques sont les bienvenues.
Jeremy.
reply other threads:[~2011-09-19 8:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4E76FAE1.1080504@Supelec.fr \
--to=jeremy.fix@supelec.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