Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ocamldoc + -pack #4209
Original bug ID: 4209
$ mkdir a
Of course, without -pack one cannot have two compilation unit of the same name, and one can understand that ocamldoc doesn't handle that. But with -pack, the situation is different: we have two modules A and P.A, which is perfectly valid and works with ocamldc and ocamlopt, but not ocamldoc.
Comment author: @zoggy
One would need to add a -pack option to ocamldoc, which it currently doesn't support. This would be rather heavy to implement, for an use case that seems quite exceptional. I'll mark that as "feature wish".
Il faudrait une option -pack à ocamldoc, ce qui n'est pas le cas et est assez lourd à implémenter, pour un usage plutôt exceptionnel il me semble.
Comment author: @gasche
This feature has been requested by some other users since (eg. http://stackoverflow.com/questions/17368613/using-ocamldoc-with-packs in 2013, with mention of a similar discussion in 2011).
(Of course patches to implement the feature would be welcome.)