Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Re: Syntax Changes in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] Re: Syntax Changes in OCaml
From: "dbmcclain" <dbmcclain@email.msn.com>

> I had the distinct impression that the latest release of OCaml already
> imposes a (minor) syntax change in that tags on library function arguments
> are now mandatory. Is this not the case?

It is not a syntax change (the grammar didn't change), but a
typechecker change, which only concerns people who use labels.
(We hoped they were flexible enough to accept this integrating change.)
Labels are required in some cases, but there are no labels in the
standard library.

> My (mis?)understanding has already prevented my adoption of the latest
> version simply because of the effort required to port 20 KLOC of OCaml to
> this new imposition. If this is not the case, then I will gladly incorporate
> the newest version in my system.

Indeed this is a misunderstanding: ocaml 3.04 is fully compatible with
ocaml 2.04. Non-labeled programs do not require any change.
(Actually, there is one change in the grammar for stream parsers, and
you have to use camlp4 for them, but this is really all.)

Keep with us,

Jacques Garrigue
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr