Skip to content

OxCaml: support for parameterized libraries - #1464

Open
art-w wants to merge 2 commits into
ocaml:masterfrom
art-w:oxcaml-param
Open

OxCaml: support for parameterized libraries#1464
art-w wants to merge 2 commits into
ocaml:masterfrom
art-w:oxcaml-param

Conversation

@art-w

@art-w art-w commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This PR integrates OxCaml parameterized libs in Odoc, by adding the missing informations (is that library a description of a parameter? is that library parameterized and by what? does that library implement a parameter?) and fixing the broken references to instantiated parameterized libraries. The later is similar to a functor application, with the difference that arguments are nominal instead of positional: The OxCaml compiler internally uses the syntax Lib[Param:Impl], which we replicate (with individual links on Lib, Param and Impl).

See the cram test or dune's documentation on parameterized libs

Fixes #1390

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for representing parameterized libraries

1 participant