Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module State : sig ... end
val sexp_of_t :
('a -> Ppx_sexp_conv_lib.Sexp.t) ->
'a t ->
Ppx_sexp_conv_lib.Sexp.t
type 'a incremental := 'a t
include Core_kernel.Invariant.S1 with type 'a t := 'a t
val invariant : ('a -> unit) -> 'a t -> unit
val is_const : _ t -> bool
val is_valid : _ t -> bool
val is_necessary : _ t -> bool
val const : 'a -> 'a t
val return : 'a -> 'a t
module Infix : sig ... end
module Unordered_array_fold_update : sig ... end
val unordered_array_fold :
?full_compute_every_n_changes:int ->
'a t array ->
init:'b ->
f:('b -> 'a -> 'b) ->
update:('a, 'b) Unordered_array_fold_update.t ->
'b t
module Scope : sig ... end
module Var : sig ... end
module Observer : sig ... end
val observe : ?should_finalize:bool -> 'a t -> 'a Observer.t
module Update : sig ... end
module Cutoff : sig ... end
val lazy_from_fun : (unit -> 'a) -> 'a Core_kernel.Lazy.t
val memoize_fun :
?initial_size:int ->
'a Base.Hashtbl.Key.t ->
('a -> 'b) ->
('a -> 'b) Core_kernel.Staged.t
val memoize_fun_by_key :
?initial_size:int ->
'key Base.Hashtbl.Key.t ->
('a -> 'key) ->
('a -> 'b) ->
('a -> 'b) Core_kernel.Staged.t
val weak_memoize_fun :
?initial_size:int ->
'a Base.Hashtbl.Key.t ->
('a -> 'b Core_kernel.Heap_block.t) ->
('a -> 'b Core_kernel.Heap_block.t) Core_kernel.Staged.t
val weak_memoize_fun_by_key :
?initial_size:int ->
'key Base.Hashtbl.Key.t ->
('a -> 'key) ->
('a -> 'b Core_kernel.Heap_block.t) ->
('a -> 'b Core_kernel.Heap_block.t) Core_kernel.Staged.t
val user_info : _ t -> Core_kernel.Info.t option
val set_user_info : _ t -> Core_kernel.Info.t option -> unit
module Node_value : sig ... end
val node_value : 'a t -> 'a Node_value.t
node_value t
returns whatever value t
happens to have in it, regardless of whether t
is valid, necessary, or stale. One should use observe
for a more sensible semantics, reserving node_value
for debugging.
module Packed : sig ... end
module Let_syntax : sig ... end
module Before_or_after : sig ... end
module Step_function = Incremental_step_function
module Clock : sig ... end
module Expert : sig ... end