Hi Hans,
Hans Ole Rafaelsen wrote:
When packing a set of modules into a top module using -pack, is there
a way to have some of the modules private to the package?
If I have the modules Helper, Foo and Bar. Helper provides helper
functions used by Foo and Bar. When I'm packing them into a top mudule
P, I do not want to expose the functions of Helper to users of P.
Is there some way to achieve this? If not, do anyone know of other
ways for packing libraries and keeping some of the modules private to
the library?
IIRC you have to write an interface file (MLI) for the package.
--
Regards,
Michael
_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs