jon.recoil.org

Module Reg_class_utils.Make_tbl

Parameters

Signature

type reg_class = RC.t
type 'a t
val init : f:(reg_class -> 'a) -> 'a t

Creates a table by calling f on each and every register class to get the initial value for that class.

val map : 'a t -> f:('a -> 'b) -> 'b t
val iter : 'a t -> f:(reg_class -> 'a -> unit) -> unit
val find : 'a t -> reg_class -> 'a