caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Installing library with hidden modules
@ 2017-05-07  5:24 Alexey Egorov
  2017-05-08 10:56 ` Daniel Bünzli
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey Egorov @ 2017-05-07  5:24 UTC (permalink / raw)
  To: caml-list

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...

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-10 12:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-07  5:24 [Caml-list] Installing library with hidden modules Alexey Egorov
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

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).