package odoc
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=d7b9567ec9f2f99c4557999d78e268c97bcb5cab8770b5e74d694f5abd6dffae
sha512=444aedb4bbf132c45a198f73dbd282048a1e76cd4df739f530334f4c575575784e5db49392c798b997db9ae5d429a40a3618de7ffe71e5a60fbb29c67d5a7da2
doc/odoc.xref2/Odoc_xref2/Component/index.html
Module Odoc_xref2.ComponentSource
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.