From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id oBQNLYkb008478 for ; Mon, 27 Dec 2010 00:21:34 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqgFACNdF01QW+UMgWdsb2JhbACWGI4aFQEBFiIkvF2FSgSLBA X-IronPort-AV: E=Sophos;i="4.60,232,1291590000"; d="scan'208";a="71395654" Received: from lo.gmane.org ([80.91.229.12]) by mail3-smtp-sop.national.inria.fr with ESMTP; 27 Dec 2010 00:21:27 +0100 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PWzu1-0003WL-J2 for caml-list@inria.fr; Mon, 27 Dec 2010 00:21:25 +0100 Received: from avelizy-155-1-59-132.w86-217.abo.wanadoo.fr ([86.217.90.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Dec 2010 00:21:25 +0100 Received: from sylvain by avelizy-155-1-59-132.w86-217.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Dec 2010 00:21:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Date: Sun, 26 Dec 2010 23:21:14 +0000 (UTC) Message-ID: References: <20101226203711.GA10137@melkinpaasi.cs.helsinki.fi> X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: avelizy-155-1-59-132.w86-217.abo.wanadoo.fr User-Agent: slrn/pre1.0.0-18 (Linux) Subject: [Caml-list] Re: Capitalized source file names On 26-12-2010, Lauri Alanko wrote: > Traditionally, OCaml source files have been named to start with > lowercase letters, even though they define modules whose names begin > with uppercase letters: the definition of module FooBar goes in > fooBar.ml. This has always seemed unintuitive to me. > > I'm not sure if this convention has been forced in the past, but > nowadays the entire toolchain seems to support capitalized filenames: > you can put the definition of FooBar in FooBar.ml, and everything just > works. This seems much more natural. > > As things stand, is there any reason (besides uniformity with existing > code) why one shouldn't use capitalized source file names nowadays? > Now, I try to use module name as file name (i.e. uppercase version). This is much more intuitive. But there is nothing to enforce here, this is just a matter of taste. Regards, Sylvain Le Gall