Module Core_kernel__Hashtbl.Poly

type ('a, 'b) t = ('a'bt
include sig ... end
val bin_read_t : 'a Bin_prot.Read.reader ‑> 'b Bin_prot.Read.reader ‑> ('a'bt Bin_prot.Read.reader
val __bin_read_t__ : 'a Bin_prot.Read.reader ‑> 'b Bin_prot.Read.reader ‑> (Core_kernel__.Import.int ‑> ('a'bt) Bin_prot.Read.reader
val bin_size_t : 'a Bin_prot.Size.sizer ‑> 'b Bin_prot.Size.sizer ‑> ('a'bt Bin_prot.Size.sizer
val bin_write_t : 'a Bin_prot.Write.writer ‑> 'b Bin_prot.Write.writer ‑> ('a'bt Bin_prot.Write.writer
include Core_kernel.Hashtbl_intf.Hashtbl.S_poly with type (a, b) t := (a, b) t
val t_of_sexp : (Base.Sexp.t ‑> 'a) ‑> (Base.Sexp.t ‑> 'b) ‑> Base.Sexp.t ‑> ('a'bt
val sexp_of_t : ('a ‑> Base.Sexp.t) ‑> ('b ‑> Base.Sexp.t) ‑> ('a'bt ‑> Base.Sexp.t
val hashable : 'a Base.Hashable.t
type 'a key = 'a
val create : ('a key'b, unit ‑> ('a'btBase__.Hashtbl_intf.create_options_without_first_class_module
val of_alist : ('a key'b, ('a key * 'b) list ‑> [ `Duplicate_key of 'a key | `Ok of ('a'bt ]) Base__.Hashtbl_intf.create_options_without_first_class_module
val of_alist_report_all_dups : ('a key'b, ('a key * 'b) list ‑> [ `Duplicate_keys of 'a key list | `Ok of ('a'bt ]) Base__.Hashtbl_intf.create_options_without_first_class_module
val of_alist_or_error : ('a key'b, ('a key * 'b) list ‑> ('a'bt Base.Or_error.tBase__.Hashtbl_intf.create_options_without_first_class_module
val of_alist_exn : ('a key'b, ('a key * 'b) list ‑> ('a'btBase__.Hashtbl_intf.create_options_without_first_class_module
val of_alist_multi : ('a key'b list, ('a key * 'b) list ‑> ('a'b list) tBase__.Hashtbl_intf.create_options_without_first_class_module
val create_mapped : ('a key'b, get_key:('r ‑> 'a key) ‑> get_data:('r ‑> 'b) ‑> 'r list ‑> [ `Duplicate_keys of 'a key list | `Ok of ('a'bt ]) Base__.Hashtbl_intf.create_options_without_first_class_module
val create_with_key : ('a key'r, get_key:('r ‑> 'a key) ‑> 'r list ‑> [ `Duplicate_keys of 'a key list | `Ok of ('a'rt ]) Base__.Hashtbl_intf.create_options_without_first_class_module
val create_with_key_or_error : ('a key'r, get_key:('r ‑> 'a key) ‑> 'r list ‑> ('a'rt Base.Or_error.tBase__.Hashtbl_intf.create_options_without_first_class_module
val create_with_key_exn : ('a key'r, get_key:('r ‑> 'a key) ‑> 'r list ‑> ('a'rtBase__.Hashtbl_intf.create_options_without_first_class_module
val group : ('a key'b, get_key:('r ‑> 'a key) ‑> get_data:('r ‑> 'b) ‑> combine:('b ‑> 'b ‑> 'b) ‑> 'r list ‑> ('a'btBase__.Hashtbl_intf.create_options_without_first_class_module
val sexp_of_key : ('a'bt ‑> 'a key ‑> Base.Sexp.t
val clear : ('a'bt ‑> unit
val copy : ('a'bt ‑> ('a'bt
val fold : ('a'bt ‑> init:'c ‑> f:(key:'a key ‑> data:'b ‑> 'c ‑> 'c) ‑> 'c
val iter_keys : ('a'bt ‑> f:('a key ‑> unit) ‑> unit
val iter : ('a'bt ‑> f:('b ‑> unit) ‑> unit
val iteri : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> unit) ‑> unit
val existsi : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> bool) ‑> bool
val exists : ('a'bt ‑> f:('b ‑> bool) ‑> bool
val for_alli : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> bool) ‑> bool
val for_all : ('a'bt ‑> f:('b ‑> bool) ‑> bool
val counti : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> bool) ‑> int
val count : ('a'bt ‑> f:('b ‑> bool) ‑> int
val length : ('a'bt ‑> int
val is_empty : ('a'bt ‑> bool
val mem : ('a'bt ‑> 'a key ‑> bool
val remove : ('a'bt ‑> 'a key ‑> unit
val set : ('a'bt ‑> key:'a key ‑> data:'b ‑> unit
val add : ('a'bt ‑> key:'a key ‑> data:'b ‑> [ `Duplicate | `Ok ]
val add_exn : ('a'bt ‑> key:'a key ‑> data:'b ‑> unit
val change : ('a'bt ‑> 'a key ‑> f:('b option ‑> 'b option) ‑> unit
val update : ('a'bt ‑> 'a key ‑> f:('b option ‑> 'b) ‑> unit
val map : ('a'bt ‑> f:('b ‑> 'c) ‑> ('a'ct
val mapi : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> 'c) ‑> ('a'ct
val filter_map : ('a'bt ‑> f:('b ‑> 'c option) ‑> ('a'ct
val filter_mapi : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> 'c option) ‑> ('a'ct
val filter_keys : ('a'bt ‑> f:('a key ‑> bool) ‑> ('a'bt
val filter : ('a'bt ‑> f:('b ‑> bool) ‑> ('a'bt
val filteri : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> bool) ‑> ('a'bt
val partition_map : ('a'bt ‑> f:('b ‑> [ `Fst of 'c | `Snd of 'd ]) ‑> ('a'ct * ('a'dt
val partition_mapi : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> [ `Fst of 'c | `Snd of 'd ]) ‑> ('a'ct * ('a'dt
val partition_tf : ('a'bt ‑> f:('b ‑> bool) ‑> ('a'bt * ('a'bt
val partitioni_tf : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> bool) ‑> ('a'bt * ('a'bt
val find_or_add : ('a'bt ‑> 'a key ‑> default:(unit ‑> 'b) ‑> 'b
val findi_or_add : ('a'bt ‑> 'a key ‑> default:('a key ‑> 'b) ‑> 'b
val find : ('a'bt ‑> 'a key ‑> 'b option
val find_exn : ('a'bt ‑> 'a key ‑> 'b
val find_and_call : ('a'bt ‑> 'a key ‑> if_found:('b ‑> 'c) ‑> if_not_found:('a key ‑> 'c) ‑> 'c
val findi_and_call : ('a'bt ‑> 'a key ‑> if_found:(key:'a key ‑> data:'b ‑> 'c) ‑> if_not_found:('a key ‑> 'c) ‑> 'c
val find_and_remove : ('a'bt ‑> 'a key ‑> 'b option
val merge : ('k'at ‑> ('k'bt ‑> f:(key:'k key ‑> [ `Both of 'a * 'b | `Left of 'a | `Right of 'b ] ‑> 'c option) ‑> ('k'ct
type 'a merge_into_action =
| Remove
| Set_to of 'a
val merge_into : src:('k'at ‑> dst:('k'bt ‑> f:(key:'k key ‑> 'a ‑> 'b option ‑> 'b merge_into_action) ‑> unit
val keys : ('a'bt ‑> 'a key list
val data : ('a'bt ‑> 'b list
val filter_keys_inplace : ('a'bt ‑> f:('a key ‑> bool) ‑> unit
val filter_inplace : ('a'bt ‑> f:('b ‑> bool) ‑> unit
val filteri_inplace : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> bool) ‑> unit
val map_inplace : ('a'bt ‑> f:('b ‑> 'b) ‑> unit
val mapi_inplace : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> 'b) ‑> unit
val filter_map_inplace : ('a'bt ‑> f:('b ‑> 'b option) ‑> unit
val filter_mapi_inplace : ('a'bt ‑> f:(key:'a key ‑> data:'b ‑> 'b option) ‑> unit
val equal : ('a'bt ‑> ('a'bt ‑> ('b ‑> 'b ‑> bool) ‑> bool
val similar : ('a'b1t ‑> ('a'b2t ‑> ('b1 ‑> 'b2 ‑> bool) ‑> bool
val to_alist : ('a'bt ‑> ('a key * 'b) list
val validate : name:('a key ‑> string) ‑> 'b Base.Validate.check ‑> ('a'bt Base.Validate.check
val incr : ?⁠by:int ‑> ?⁠remove_if_zero:bool ‑> ('a, int) t ‑> 'a key ‑> unit
val decr : ?⁠by:int ‑> ?⁠remove_if_zero:bool ‑> ('a, int) t ‑> 'a key ‑> unit
val add_multi : ('a'b list) t ‑> key:'a key ‑> data:'b ‑> unit
val remove_multi : ('a'b list) t ‑> 'a key ‑> unit
val find_multi : ('a'b list) t ‑> 'a key ‑> 'b list