English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] variant with tuple arg in pattern match?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-04-07 (06:44)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] variant with tuple arg in pattern match?

On Fri, Apr 06, 2001 at 09:42:38PM -0400, Patrick M Doane wrote:

> What are the current thoughts about adopting the revised syntax as the
> "standard one"? How many programmers use that syntax?

Discussions about syntax generally degenerate into quarrels because it
is often a question of taste and find a consensus is extremely hard.
Adopting it as "standard one" is then not possible. And there is too
much code written in OCaml by all users.

I wrote this "revised" syntax but I don't think that many people use
it. I have no idea of the number, but probably very few. Except me, I
just know two persons, one of them already not agreeing one of my
choices. I agree to improve this syntax, to change things (I mean in
the Camlp4 distribution), but only if there are more than 3 persons

Well, everybody can make his own syntax, e.g. starting from the file
treating the normal syntax (etc/pa_o.ml) or the file of the revised
syntax (meta/pa_r.ml). This revised syntax, even dating from several
years, is just an experiment. I would have liked that people
experiment other possible syntaxes, but it seems that it is not a
subject interesting many people.

Less than genealogy, in any case...

To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr