-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functor types aren't written correctly when empty params #410
Comments
Unfortunately, I don't have time to understand the internals of odoc to fix this, but if someone has time and doesn't know how it works, my first instinct would be to look here where the behaviour of the |
Maybe here: https://github.com/ocaml/odoc/blob/master/src/html/generator.ml#L1671 in contrast to here: https://github.com/ocaml/odoc/blob/master/src/html/generator.ml#L1687 - note the lack of |
Was: functor () sig ... end Now: functor () -> sig ... end Fixes ocaml#410 Signed-off-by: Jon Ludlam <jon@recoil.org>
Was: functor () sig ... end Now: functor () -> sig ... end Fixes ocaml#410 Signed-off-by: Jon Ludlam <jon@recoil.org>
Only possible in the ML syntax: module F (X : Bar) : BAZ Also adds a test for unit functors and fixes ocaml#410
Only possible in the ML syntax: module F (X : Bar) : BAZ Also adds a test for unit functors and fixes ocaml#410
Only possible in the ML syntax: module F (X : Bar) : BAZ Also adds a test for unit functors and fixes ocaml#410
Only possible in the ML syntax: module F (X : Bar) : BAZ Also adds a test for unit functors and fixes #410
Hi !
This is a small thing but I have modules that have side-effect behaviours, and a functor to instantiate them.
However, odoc doesn't seem to be handling that well for some reason :

It should be
Somehow the arrow disappears.
This doesn't happen if I add a dummy parameter
The text was updated successfully, but these errors were encountered: