From: Pietro Abate <Pietro.Abate@pps.jussieu.fr>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Circular dependencies
Date: Mon, 6 Jul 2009 12:56:29 +0200 [thread overview]
Message-ID: <20090706105629.GA25140@uranium.pps.jussieu.fr> (raw)
In-Reply-To: <926565e50907060325o37bf41bfqb8bd6cc819af4f77@mail.gmail.com>
On Mon, Jul 06, 2009 at 12:25:58PM +0200, Johannes Kanig wrote:
> Abate<Pietro.Abate@pps.jussieu.fr> wrote:
> > #cat algo.mlpack
> > Pub1
> > Pub2
> > Out
> It's a bit confusing, but the mlpack has to contain all the modules of
> the pack, and not only the public modules. So you should add "Private"
> here. The circular dependency message is ocamlbuild's way of telling
> you.
ok, so if now I want to hide the module private.ml I need to add
algo.mli to hide it . Suppose I've the mli for Pub1 Pub2 and Out . How
can I easily (without cut and pasting code) create algo.mli ? Tell me I
do not have to manually add the signature of Pub1 Pub2 and Out ...
searching the list I've got a bad feeling ... Is this the best way to
hide a module ?
thanks again.
p
--
----
http://en.wikipedia.org/wiki/Posting_style
next prev parent reply other threads:[~2009-07-06 10:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-06 9:27 Pietro Abate
2009-07-06 10:25 ` [Caml-list] " Johannes Kanig
2009-07-06 10:56 ` Pietro Abate [this message]
2009-07-06 11:19 ` Johannes Kanig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090706105629.GA25140@uranium.pps.jussieu.fr \
--to=pietro.abate@pps.jussieu.fr \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox