Module Stack_class_utils.Make_tbl
Parameters
module SC : Stack_class_utils.TSignature
type stack_class = SC.tval make : 'a -> 'a tCreates a table with all stack classes set to the passed value.
val init : f:(stack_class -> 'a) -> 'a tCreates a table by calling f on each and every stack class to get the initial value for that class.
val find : 'a t -> stack_class -> 'aval replace : 'a t -> stack_class -> 'a -> unitval update : 'a t -> stack_class -> f:('a -> 'a) -> unitval iter : 'a t -> f:(stack_class -> 'a -> unit) -> unitval fold : 'a t -> f:(stack_class -> 'a -> 'b -> 'b) -> init:'b -> 'bval exists : 'a t -> f:(stack_class -> 'a -> bool) -> boolval total_size_in_bytes_for_class : int t -> stack_class:stack_class -> intval total_size_in_bytes : int t -> intval offset_in_bytes : int t -> stack_class:stack_class -> slot:int -> int