caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Stéphane Glondu" <steph@glondu.net>
To: Diego Olivier FERNANDEZ PONS <diego.fernandez_pons@etu.upmc.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Type inference inside exceptions ?
Date: Thu, 12 Oct 2006 00:50:38 +0200	[thread overview]
Message-ID: <452D753E.1020607@glondu.net> (raw)
In-Reply-To: <20061006201647.1a88vj0tkockc4k8@webmail.etu.upmc.fr>

Diego Olivier FERNANDEZ PONS a écrit :
> Now I want the program not to return all the solutions but only the
> first solution it found and a list of continuations that I can launch
> again if a better solution is required.

I don't really understand what you are doing: why do you generate a list
of continuations instead of a single one? Don't you want a kind of lazy
list?

> Here is the detailed code
> [...]
> Great ! Now I want the solution, its cardinality and the continuation list

Does this code really do what you expect? Did you take into
consideration multiple executions of your continuations? I am rather
unconfident with your single mutable variable...

> lets try ...

Is this the end of your mail?

-- 
Stephane Glondu



  parent reply	other threads:[~2006-10-11 22:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06 18:16 Diego Olivier FERNANDEZ PONS
2006-10-06 20:20 ` [Caml-list] " ketty .
2006-10-10 10:28   ` Diego Olivier FERNANDEZ PONS
2006-10-11 22:50 ` Stéphane Glondu [this message]
2006-10-13 12:23   ` Diego Olivier FERNANDEZ PONS
2006-10-13 12:42     ` Pietro Abate
2006-10-14 19:56       ` Reordering continuations (was :Type inference inside exceptions ?) Diego Olivier FERNANDEZ PONS
2006-10-16  9:25         ` [Caml-list] " Diego Olivier FERNANDEZ PONS
2006-10-17 12:33           ` Diego Olivier FERNANDEZ PONS
2006-10-19  7:32             ` Looking for references to usage of ocaml in data mining, knowleadge discovery, etc  Dr. Axel Poigné 
2006-10-19 14:06               ` [Caml-list] " Markus Mottl

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=452D753E.1020607@glondu.net \
    --to=steph@glondu.net \
    --cc=caml-list@inria.fr \
    --cc=diego.fernandez_pons@etu.upmc.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).