From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id E14397FB82 for ; Mon, 29 Feb 2016 19:45:08 +0100 (CET) IronPort-PHdr: 9a23:A1Q0mR/hwu4vtP9uRHKM819IXTAuvvDOBiVQ1KB91O8cTK2v8tzYMVDF4r011RmSDdqdtaIP0rKH+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuStGU0ZT8jrjjs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cYk7sb+sVBSaT3ebgjBfwdVWx+cjN92Mq+lAfKS0Og4WcbTG4WkwZTS1zE8h7SX5r8v239rOUriweAOsijZLYoXjLqxa5gSB7uwHMOMSIj92fdg8dwjaRzrxeophg5yInRNtLGfMFid7/QKItJDVFKWdxcAmkYWtux Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=antronbachin@gmail.com; spf=Pass smtp.mailfrom=antronbachin@gmail.com; spf=None smtp.helo=postmaster@mail-ig0-f181.google.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of antronbachin@gmail.com) identity=pra; client-ip=209.85.213.181; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="antronbachin@gmail.com"; x-sender="antronbachin@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of antronbachin@gmail.com designates 209.85.213.181 as permitted sender) identity=mailfrom; client-ip=209.85.213.181; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="antronbachin@gmail.com"; x-sender="antronbachin@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ig0-f181.google.com) identity=helo; client-ip=209.85.213.181; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="antronbachin@gmail.com"; x-sender="postmaster@mail-ig0-f181.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CRAAApkdRWjrXVVdFehAxtqnCQCYFnHYV2AoE4OhIBAQEBAQEBARABAQEBBwsLCR8xgi2CFAEBAQMBEhEdARsdAQMBCwYFCwMKJwMCAiECEQEFAQsRBhMih2cBAwoIDqMcgTE+MYs0gWmCV4UOChknDVGDXAEBAQEBAQEBAQEBAQEBAQEBAQEBAQ8BBQoEh3CBUX2COoFjRYJTK4EPBY4fhFaEF4VZhhWBdIIphm0OhVCHBoYGL4EPJw2CJB6Bb0uIQwEBAQ X-IPAS-Result: A0CRAAApkdRWjrXVVdFehAxtqnCQCYFnHYV2AoE4OhIBAQEBAQEBARABAQEBBwsLCR8xgi2CFAEBAQMBEhEdARsdAQMBCwYFCwMKJwMCAiECEQEFAQsRBhMih2cBAwoIDqMcgTE+MYs0gWmCV4UOChknDVGDXAEBAQEBAQEBAQEBAQEBAQEBAQEBAQ8BBQoEh3CBUX2COoFjRYJTK4EPBY4fhFaEF4VZhhWBdIIphm0OhVCHBoYGL4EPJw2CJB6Bb0uIQwEBAQ X-IronPort-AV: E=Sophos;i="5.22,521,1449529200"; d="scan'208,217";a="166381837" Received: from mail-ig0-f181.google.com ([209.85.213.181]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 29 Feb 2016 19:45:07 +0100 Received: by mail-ig0-f181.google.com with SMTP id g6so2245284igt.1 for ; Mon, 29 Feb 2016 10:45:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=msbKJf+nt4+x8Shg4UGoQCMP+Lj/tSeDQvqeyXGr4Q0=; b=w+w8Dfubkhgbl9knhJID/qfd0aPebkMRXY4Kfa828v1u6TB/s53/C3BeJakA5lWxYS RZ7E59P8W8mtcCKPZGICYMP4iL+t0ioBGKJwfgq/7vGZyWXMMEDLuonVyOFKuutvWxCI swU9oFtC/jlTK45gdw1fYWWWGx/ovt6DZh9sSrjrJpM0peAu9Ju+Iu7idKfFH/bgVYwg d4GP9b4nsY/mEH96fVovn/DEh8mm3UEA17IkvaAApU0tCOhAgcwo/qo2NEh5ofupFFhs c1FKeJAlS2lLZU6og6oUj3NIoB3G/RhyTt5f4eydVcyjscXDJvwu/UmSYcZXUJV2uU/4 JJhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=msbKJf+nt4+x8Shg4UGoQCMP+Lj/tSeDQvqeyXGr4Q0=; b=kHHV9x/4HalfxBNQT7LOtHxuzjEpJ/FJiYE/1NOBgRkTtNiN442TaTFQX/v93Oym+Y sWXwzX7DV2SEB9YeEKVoOQTUmfu5hOP5DGfiE7OR++5AVFobs8YAEiC9PLOgScpf+y5N l5L/vOCWXlP6HxEwmxmcv24oZBEgW+/7+fVrpIPfUDx30OVJMcw+OEx47RzS9PaZdZhl duJXEZr9nU6C8okyAxaTs9xF/3lf+CN9D9EftIN7NFZtiMOPmym9bkmfoB+LWMr9Q3cw i6AX5LfPPWq1G7suJst3S/wN32z666B1rmiRzE2qZ4ywpPcWeZr/mbhw/2odPwjCUmtc CPcA== X-Gm-Message-State: AD7BkJJ4qaEnEKMcunaIcPiDSGl2Nx/IHoNKbch169u9Y9I7GINPmOQs96GqnM1yadRxsw== X-Received: by 10.50.110.5 with SMTP id hw5mr12258609igb.54.1456771506721; Mon, 29 Feb 2016 10:45:06 -0800 (PST) Received: from [192.168.0.10] (c-73-9-77-177.hsd1.il.comcast.net. [73.9.77.177]) by smtp.gmail.com with ESMTPSA id o2sm7267186igv.0.2016.02.29.10.45.06 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Feb 2016 10:45:06 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_EBF767EB-F93D-40DA-851D-8CFE1C64AC08" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) From: Anton Bachin In-Reply-To: Date: Mon, 29 Feb 2016 12:45:03 -0600 Cc: OCaml users X-Mao-Original-Outgoing-Id: 478464303.298667-6205e2ae1215a54a52602efb4859b865 Message-Id: <4C6ACEE0-9F61-431D-8FD1-1FE88E5142FA@gmail.com> References: To: Ivan Gotovchits X-Mailer: Apple Mail (2.2070.6) Subject: Re: [Caml-list] =?UTF-8?Q?=5BANN=5D_Namespaces_=E2=80=93_sensible?= =?UTF-8?Q?_file_naming_for_OCaml_projects?= --Apple-Mail=_EBF767EB-F93D-40DA-851D-8CFE1C64AC08 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thanks Arto, Ivan. The question about Merlin is a good one. I better start using Merlin myself, because I don=E2=80=99t know the answer. I suppose if Merlin reads things from src/ (or lib/, or whatever) in a project, then it shouldn=E2=80= =99t work. But if Merlin reads from _build/, as I would think it does, then it =E2=80=9Cshould" work. But I don=E2=80=99t know either way at the moment= . It will probably take some time for me to set Merlin up, but I will look into it. Best, Anton > On Feb 29, 2016, at 12:37, Ivan Gotovchits wrote: >=20 >=20 > Hi Anton! >=20 > It is a great project! >=20 > But nowadays I always want to know, does it work with merlin? >=20 > Regards, > Ivan >=20 > On Mon, Feb 29, 2016 at 11:40 AM, Anton Bachin > wrote: > Hello, >=20 > I would like to announce the release of Namespaces, an Ocamlbuild plugin = that > gives your project logical nested modules based on its directory layout, = as is > common in the build systems of many other languages. >=20 > So, src/server/foo.ml becomes Server.Foo, and src/client= /foo.ml becomes > Client.Foo. There is no conflict between the two foo.ml = files, and thus no need > to call them server_foo.ml and client_foo.ml . >=20 > The project page and documentation can be found here: >=20 > https://github.com/aantron/namespaces >=20 > Namespaces works, but it abuses Ocamlbuild heavily, so there may be many = corner > cases that are not yet addressed well. Bug reports are very much welcome.= If > something can=E2=80=99t be fixed by changing Namespaces, perhaps Namespac= es will be a > good point of discussion for updating Ocamlbuild itself, or other OCaml t= ooling. >=20 >=20 > Regards and enjoy, > Anton >=20 >=20 > P.S. How is Ocamlbuild spelled? I have seen it as Ocamlbuild, OCamlbuild = (which > stands to reason), and ocamlbuild in monospace font, in the original manu= al. >=20 --Apple-Mail=_EBF767EB-F93D-40DA-851D-8CFE1C64AC08 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Thanks Arto, Ivan.

=
The question about Merlin is a good one. I better start usi= ng Merlin
myself, because I don=E2=80=99t know the ans= wer. I suppose if Merlin reads
things from src/ (or li= b/, or whatever) in a project, then it shouldn=E2=80=99t
work. But if Merlin reads from _build/, as I would think it does, then
it =E2=80=9Cshould" work. But I don=E2=80=99t know eith= er way at the moment. It will
probably take some time = for me to set Merlin up, but I will look into
it.

Best,
Anton

On Feb 29, 2016, at 12:37, Ivan Gotovchits <ivg@ieee.org> wrote:


Hi Anton!
<= div class=3D"">
It is a great project!
<= br class=3D"">
But nowadays I always want to know, doe= s it work with merlin?

Regards,
Ivan

On Mon, Feb 29, 2016 at 11:40= AM, Anton Bachin <antronbachin@gmail.com&g= t; wrote:
Hello,

I would like to ann= ounce the release of Namespaces, an Ocamlbuild plugin that
gives your project logical nested modules based on its directory layo= ut, as is
common in the build systems of many other la= nguages.

So= , src/server/foo.ml= becomes Server.Foo, and src/client/foo.ml becomes
Client.Foo. = There is no conflict between the two foo.ml files, and thus no need
t= o call them = server_foo.ml and client_foo.ml.

The project page and documentation can be found here:


Namespaces works, but it abuses Ocamlbuild heavily, so there may = be many corner
cases that are not yet addressed well. = Bug reports are very much welcome. If
something can=E2= =80=99t be fixed by changing Namespaces, perhaps Namespaces will be a
=
good point of discussion for updating Ocamlbuild itself, or= other OCaml tooling.


Regards and enjoy,
Anton

P.S. How is Ocamlbuild sp= elled? I have seen it as Ocamlbuild, OCamlbuild (which
stands to reason), and ocamlbuild in monospace font, in the original manua= l.


= --Apple-Mail=_EBF767EB-F93D-40DA-851D-8CFE1C64AC08--