caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ezra Cooper <e.e.k.cooper@sms.ed.ac.uk>
To: Damien Doligez <damien.doligez@inria.fr>
Cc: caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Map.fold behavior changed
Date: Thu, 02 Mar 2006 13:57:53 +0000	[thread overview]
Message-ID: <4406F9E1.6010801@sms.ed.ac.uk> (raw)
In-Reply-To: <FFDDB89A-C372-4983-B1C3-009157CBBA88@inria.fr>

Damien Doligez wrote:

>
> On Feb 24, 2006, at 17:01, Joaquin Cuenca Abela wrote:
>
>> Expecting the documentation to be beyond flaws or
>> making it right "by definition" also exposes you to
>> problems when it just doesn't follow the intent of the
>> writers.
>
>
> Of course, but when you find a discrepancy, you should file a bug
> report, not assume that the documentation is wrong.


But you see, in this case a member of my team was reading the latest
documentation, and using the latest version. So everything looked
correct to him, but he didn't realize that he was making our code
incompatible with the last ~10 years of OCaml.

In any case, we have worked around it by testing Sys.ocaml_version.
Thanks to everyone who replied for their suggestions.

Is there any reason why Sys.ocaml_version is a string, by the way?
Shouldn't it be some kind of numerical representation to make it easy to
do ordered comparisons?

Thanks all,
Ezra


  reply	other threads:[~2006-03-02 13:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-24 11:22 EEK Cooper
2006-02-24 11:43 ` [Caml-list] " Jean-Christophe Filliatre
2006-02-24 13:29   ` EEK Cooper
2006-02-24 13:44     ` Jean-Christophe Filliatre
2006-02-24 14:13     ` Damien Doligez
2006-02-24 15:43       ` Brian Hurt
2006-02-24 16:20         ` Jean-Christophe Filliatre
2006-02-24 16:01       ` Joaquin Cuenca Abela
2006-02-27 12:59         ` Damien Doligez
2006-03-02 13:57           ` Ezra Cooper [this message]
2006-03-03 15:41             ` N. Owen Gunden
2006-03-09  7:14               ` Florian Hars
2006-03-13 16:31                 ` Damien Doligez
2006-03-15  7:27                   ` Florian Hars
2006-03-15  7:37                     ` Jon Harrop
2006-03-15  7:40                     ` Alain Frisch
2006-03-15  8:41                       ` Florian Hars
2006-03-15 21:18                         ` Christophe Raffalli
2006-02-24 15:31 ` Brian Hurt
2006-03-01  5:20 ` Nathaniel Gray
2006-03-01  9:33   ` Nicolas Pouillard

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=4406F9E1.6010801@sms.ed.ac.uk \
    --to=e.e.k.cooper@sms.ed.ac.uk \
    --cc=caml-list@yquem.inria.fr \
    --cc=damien.doligez@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).