val eager : bool Stdlib.ref
If eager
is true then no delaying is done. Most useful for testing and documentation
val get : 'a t -> 'a
val put : (unit -> 'a) -> 'a t
val put_val : 'a -> 'a t
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 Stdlib.ref
If eager
is true then no delaying is done. Most useful for testing and documentation
val get : 'a t -> 'a
val put : (unit -> 'a) -> 'a t
val put_val : 'a -> 'a t