package odoc

  1. Overview
  2. Docs
OCaml documentation generator

Install

Dune Dependency

Authors

Maintainers

Sources

odoc-2.1.1.tbz
sha256=f574dbd28cd0fc3a2b95525c4bb95ddf6d1f6408bb4fe12157fa537884f987fd
sha512=1c545c281a7022a167f028fff8cec6fb3f2f82da0881431be74e7a4281c5353ed83bfbdb4d9d9e08af6755dbe3505c052c5e5b58cdeb08c57aed5e89c0f15e91

doc/odoc.xref2/Odoc_xref2/Component/Delayed/index.html

Module 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

val eager : bool ref

If eager is true then no delaying is done. Most useful for testing and documentation

type 'a t = {
  1. mutable v : 'a option;
  2. mutable get : (unit -> 'a) option;
}
val get : 'a t -> 'a
val put : (unit -> 'a) -> 'a t
val put_val : 'a -> 'a t
OCaml

Innovation. Community. Security.