module Table: Hashtbl.S
with type key = hashable
type
key
type 'a
t
module T: Hashtbl_intf.Types
with type 'a key = key
with type ('a, 'b) t = 'b t
val create : int -> 'a t
val clear : 'a t -> unit
val copy : 'a t -> 'a t
val shadow_add : 'a t -> key:key -> data:'a -> unit
val remove : 'a t -> key -> unit
val shadow_find : 'a t -> key -> 'a list
val replace : 'a t -> key:key -> data:'a -> unit
val mem : 'a t -> key -> bool
val iter : 'a t ->
f:(key:key -> data:'a -> unit) -> unit
val fold : 'a t ->
init:'b -> f:(key:key -> data:'a -> 'b -> 'b) -> 'b
val length : 'a t -> int
val map : 'a t -> f:('a -> 'b) -> 'b t
val mapi : 'a t ->
f:(key:key -> data:'a -> 'b) -> 'b t
val filter_map : 'a t -> f:('a -> 'b option) -> 'b t
val filter_mapi : 'a t ->
f:(key:key -> data:'a -> 'b option) ->
'b t
val remove_all : 'a t -> key -> unit
val find_default : 'a t ->
key -> default:(unit -> 'a) -> 'a
val find : 'a t -> key -> 'a option
val find_exn : 'a t -> key -> 'a
val iter_vals : 'a t -> f:('a -> unit) -> unit
val of_alist : (key * 'a) list ->
[ `Duplicate_key of key | `Ok of 'a t ]
val of_alist_exn : (key * 'a) list -> 'a t
val of_alist_shadow : (key * 'a) list -> 'a list t
val to_alist : 'a t -> (key * 'a) list
val to_alist_shadow : 'a t -> (key * 'a list) list
val merge : f:(key:key -> 'a option -> 'b option -> 'c option) ->
'a t ->
'b t -> 'c t
val keys : 'a t -> key list
val data : 'a t -> 'a list
val filter_inplace : 'a t -> f:('a -> bool) -> unit
val filteri_inplace : 'a t -> f:(key -> 'a -> bool) -> unit
val equal : 'a t ->
'a t -> ('a -> 'a -> bool) -> bool
val add_to_groups : 'a t ->
get_key:('b -> key) ->
get_data:('b -> 'a) -> combine:('a -> 'a -> 'a) -> rows:'b list -> unit
val group : ?size:int ->
get_key:('a -> key) ->
get_data:('a -> 'b) ->
combine:('b -> 'b -> 'b) -> 'a list -> 'b t
val create_with_key : get_key:('a -> key) ->
'a list -> 'a t
val create_mapped : get_key:('a -> key) ->
get_data:('a -> 'b) -> 'a list -> 'b t
include Sexpable.S1