I use dune and it default wrapping of modules which is nice.
I have a module A.ml with its interface A.mli, but when it is wrapped in the main module, I would like to use a restricted interface A_sub.mli, because only those functions are useful for the end user. Is there a way to do that or should I wrap my library myself ?