caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Hezekiah M. Carty" <hcarty@atmos.umd.edu>
To: Florent Ouchet <florent.ouchet@imag.fr>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml 3.12.0+beta1
Date: Thu, 24 Jun 2010 16:57:12 -0400	[thread overview]
Message-ID: <AANLkTin4WhT942SwtKsODH07t-WF4P0hR4njvcg8WG4Y@mail.gmail.com> (raw)
In-Reply-To: <20100624224944.91886zxkgzxq78iw@webmail.imag.fr>

On Thu, Jun 24, 2010 at 4:49 PM, Florent Ouchet <florent.ouchet@imag.fr> wrote:
>
> This specific ( { ; _} ) forward compatibility with ocaml <3.12 is possible
> for a little cost. It's just about removing the extra underscore characters.
> Anyway if the preprocessing script does not come out of the ocaml 3.12 box,
> I will have to do it. Other developers may have to so as well.
> Mainly because this coverage check is a must-do and because I do not want to
> force a general update to OCaml 3.12 when that can be avoided. The coverage
> check has to be done only once, at "developer's" side, using 3.12. Once the
> changes are done, stripped code can easily be compiled using older versions
> of OCaml, at "user's" side.
>

The trailing _ in a record match is not required.  It is allowed in
3.12, and in combination with an optional warning flag it can be used
to check for incomplete record matches.  Why is any preprocessing
needed?  If an application is written to require OCaml 3.12.x or
later, why would you expect it to compile with an earlier version?

How is this a bigger "backward compatibility" break than first-class
modules or the "let open Module in" syntax?

Hez


  reply	other threads:[~2010-06-24 20:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-16 13:07 Damien Doligez
2010-06-16 16:28 ` [Caml-list] " Yoann Padioleau
2010-06-16 18:40   ` Martin Jambon
2010-06-16 20:52 ` Török Edwin
2010-06-17 13:35   ` xclerc
2010-06-18 14:56     ` xclerc
2010-06-19  5:51 ` Stéphane Glondu
2010-06-24  9:38 ` Florent Ouchet
2010-06-24 17:45   ` Martin Jambon
2010-06-24 18:59     ` Florent.Ouchet
2010-06-24 19:29       ` Dmitry Bely
2010-06-24 19:31       ` Mathias Kende
2010-06-24 19:39       ` Till Varoquaux
2010-06-24 20:49         ` Florent Ouchet
2010-06-24 20:57           ` Hezekiah M. Carty [this message]
2010-06-24 22:05             ` Florent Ouchet
2010-06-25  5:54               ` bluestorm
2010-06-25  6:24                 ` Florent Ouchet
2010-06-25  8:17                   ` bluestorm
2010-06-25  8:48                     ` David Allsopp
2010-06-25  9:35                       ` bluestorm
2010-06-25  7:29 ` bluestorm

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=AANLkTin4WhT942SwtKsODH07t-WF4P0hR4njvcg8WG4Y@mail.gmail.com \
    --to=hcarty@atmos.umd.edu \
    --cc=caml-list@inria.fr \
    --cc=florent.ouchet@imag.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).