jon.recoil.org

Module Component.DelayedSource

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

Sourceval eager : bool Stdlib.ref

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

Sourcetype 'a t = {
  1. mutable v : 'a option;
  2. mutable get : (unit -> 'a) option;
}
Sourceval put : (unit -> 'a) -> 'a Odoc_xref2.Component.Delayed.t