From: "Alexey Egorov" <electreg@list.ru>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] Installing library with hidden modules
Date: Sun, 07 May 2017 08:24:07 +0300 [thread overview]
Message-ID: <1494134647.612201743@f426.i.mail.ru> (raw)
Hello,
I'm trying to build a library where most of the modules are hidden and only exported as aliases via "main" file.
Simple example here - https://gist.github.com/anonymous/2f39bbc4999670cecf22f369f83e1eb3
So I don't want for Private module to be exposed to the end user directly, but I need it to be available as Public.A module.
How do I install such package? When I install (using ocamlfind) only 'public.*' files, it gives me an error 'This is an alias for module Private, which is missing'. If I install all of compiled files - module 'Private' still accessible via it's name...
next reply other threads:[~2017-05-07 5:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-07 5:24 Alexey Egorov [this message]
2017-05-08 10:56 ` Daniel Bünzli
2017-05-08 12:49 ` Ivan Gotovchits
2017-05-09 21:01 ` Daniel Bünzli
2017-05-10 12:17 ` Ivan Gotovchits
2017-05-10 12:43 ` Daniel Bünzli
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=1494134647.612201743@f426.i.mail.ru \
--to=electreg@list.ru \
--cc=caml-list@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;
as well as URLs for NNTP newsgroup(s).