odoc.xref2
Component.Delayed
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
odoc
odoc.document
odoc.examples
odoc.html
odoc.html_support_files
odoc.index
odoc.json_index
odoc.latex
odoc.loader
odoc.manpage
odoc.model
odoc.model_desc
odoc.ocamlary
odoc.occurrences
odoc.odoc
odoc.odoc_utils
odoc.search
odoc.search_html_frontend
odoc.syntax_highlighter
odoc.xref_test
val eager : bool ref
If eager is true then no delaying is done. Most useful for testing and documentation
eager
type 'a t = {
mutable v : 'a option;
mutable get : (unit -> 'a) option;
}
val get : 'a t -> 'a
val put : (unit -> 'a) -> 'a t
val put_val : 'a -> 'a t