From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA17207 for caml-redistribution; Fri, 13 Nov 1998 09:43:23 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA13439 for ; Fri, 13 Nov 1998 09:27:22 +0100 (MET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.8.7/8.8.7) with ESMTP id JAA20451; Fri, 13 Nov 1998 09:27:17 +0100 (MET) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA13361; Fri, 13 Nov 1998 09:27:17 +0100 (MET) From: Pierre Weis Message-Id: <199811130827.JAA13361@pauillac.inria.fr> Subject: Re: Style de programmation To: gregoire@inrs-telecom.uquebec.ca (=?iso-8859-1?Q?Jean-Charles_Grégoire?=) Date: Fri, 13 Nov 1998 09:27:17 +0100 (MET) Cc: caml-list@inria.fr In-Reply-To: <19980831120935.01090@someware.INRS-Telecom.UQuebec.CA> from "=?iso-8859-1?Q?Jean-Charles_Grégoire?=" at Aug 31, 98 12:09:35 pm X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: weis [French version] Bonjour, Il y a quelques semaines J-Ch Grégoire réclamait un ``style de programmation en ces termes: > Je sais que divers projets de taille importante ont été - ou sont réalisés en > Caml ou O'Caml. Des styles de programmation ont-ils été définis ? Je > cherche un exemple à des fins pédagogiques. > > Merci, > > J-Ch Grégoire J'ai fait une page Web définissant ``le'' style de programmation Caml: http://caml.inria.fr/FAQ/pgl-fra.html Cette page a été soumise à la critique des programmeurs Caml chevronnés qui m'entourent. À ma connaissance personne n'est profondément choqué par les conseils qui sont donnés dans la page, ce qui définit donc un style Caml communément accepté des experts. Vous êtes cependant tous conviés à améliorer cette page de façon à ce qu'elle soit acceptée par tous. Je vous en remercie par avance. [Version anglaise] Hi, Some time ago J-Ch Grégoire was asking for coding standard for Caml: > I am looking for an example of coding standards for Caml or O'Caml, for > teaching purposes. Does anyone has an example (s)he could send me? > > Thanks, > > J-Ch Grégoire I wrote a HTML page that defines ``Le'' Caml programming style: http://caml.inria.fr/FAQ/pgl-fra.html Unfortunately this page is not yet translated into english, since I'm waiting for the integration of your reactions before starting the translation. The Caml style described in this page has been submitted to some Caml programming experts and their proposed modifications and remarks were included: finally my pannel of Caml experts agrees with it. You're now welcome to collaborate with your own remarks and enhancement proposals, so that this Caml programming style description becomes the programming style of Caml users. Thanks in advance, Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://cristal.inria.fr/~weis/