package odoc
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ce84fa7e0cc5f3e8a54e6adeb10826152798b602057b9e46c5ae7e5d5206812b
sha512=9febd413450ca2e3824c9ef7e1c9ae8d8094aa72ed71327a69d8d6b42f6f197b3f3f40d674de0d11fa1242ee0df95c693b5d74467d530704e1339f3a523452f6
doc/odoc.xref2/Odoc_xref2/Component/index.html
Module Odoc_xref2.Component
Source
Component module
Delayed is a bit like Lazy.t but may in the future offer the chance to peek inside to be able to optimize the calculation
Components
The modules/types here are very similar to those in Odoc_model.Lang
, in most cases the only difference being that we have Idents (which are local) rather than Identifiers (which are global), Cpaths instead of Paths, and Cfrags rather than Fragments. All of these are to support the use of local idents.
Note that we still use global References rather than local ones - this is because at the point these components are being used all the references are unresolved, and hence do not contain any resolved global identifiers. When resolving references, we construct paths in parallel, which also helps avoid the need for local references.
These idents of items are kept outside of the types themselves in order to help with laziness.
There are a few other minor differences:
- Signatures keep track of removed items. These items are removed during destructive substitution.