`sig
type ('a, 'b) t
type 'a key
type ('a, 'z) map_options
val sexp_of_key :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> Sexplib.Sexp.t
val clear : ('a, 'b) Core_hashtbl_intf.Accessors.t -> unit
val copy :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
('a, 'b) Core_hashtbl_intf.Accessors.t
val invariant : ('a, 'b) Core_hashtbl_intf.Accessors.t -> unit
val fold :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
init:'c ->
f:(key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> 'c -> 'c) -> 'c
val iter :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:(key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> unit) -> unit
val existsi :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:(key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> bool) -> bool
val exists :
('a, 'b) Core_hashtbl_intf.Accessors.t -> f:('b -> bool) -> bool
val for_alli :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:(key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> bool) -> bool
val for_all :
('a, 'b) Core_hashtbl_intf.Accessors.t -> f:('b -> bool) -> bool
val length : ('a, 'b) Core_hashtbl_intf.Accessors.t -> int
val is_empty : ('a, 'b) Core_hashtbl_intf.Accessors.t -> bool
val mem :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> bool
val remove :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> unit
val remove_one :
('a, 'b list) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> unit
val replace :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> unit
val set :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> unit
val add :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> [ `Duplicate | `Ok ]
val add_or_error :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> unit Or_error.t
val add_exn :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> unit
val change :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> ('b option -> 'b option) -> unit
val add_multi :
('a, 'b list) Core_hashtbl_intf.Accessors.t ->
key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> unit
val remove_multi :
('a, 'b list) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> unit
val map :
('c,
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:('b -> 'c) -> ('a, 'c) Core_hashtbl_intf.Accessors.t)
Core_hashtbl_intf.Accessors.map_options
val mapi :
('c,
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:(key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> 'c) ->
('a, 'c) Core_hashtbl_intf.Accessors.t)
Core_hashtbl_intf.Accessors.map_options
val filter_map :
('c,
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:('b -> 'c option) -> ('a, 'c) Core_hashtbl_intf.Accessors.t)
Core_hashtbl_intf.Accessors.map_options
val filter_mapi :
('c,
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:(key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> 'c option) ->
('a, 'c) Core_hashtbl_intf.Accessors.t)
Core_hashtbl_intf.Accessors.map_options
val filter :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:('b -> bool) -> ('a, 'b) Core_hashtbl_intf.Accessors.t
val filteri :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:(key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> bool) ->
('a, 'b) Core_hashtbl_intf.Accessors.t
val partition_map :
('c,
('d,
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:('b -> [ `Fst of 'c | `Snd of 'd ]) ->
('a, 'c) Core_hashtbl_intf.Accessors.t *
('a, 'd) Core_hashtbl_intf.Accessors.t)
Core_hashtbl_intf.Accessors.map_options)
Core_hashtbl_intf.Accessors.map_options
val partition_mapi :
('c,
('d,
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:(key:'a Core_hashtbl_intf.Accessors.key ->
data:'b -> [ `Fst of 'c | `Snd of 'd ]) ->
('a, 'c) Core_hashtbl_intf.Accessors.t *
('a, 'd) Core_hashtbl_intf.Accessors.t)
Core_hashtbl_intf.Accessors.map_options)
Core_hashtbl_intf.Accessors.map_options
val partition_tf :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:('b -> bool) ->
('a, 'b) Core_hashtbl_intf.Accessors.t *
('a, 'b) Core_hashtbl_intf.Accessors.t
val partitioni_tf :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:(key:'a Core_hashtbl_intf.Accessors.key -> data:'b -> bool) ->
('a, 'b) Core_hashtbl_intf.Accessors.t *
('a, 'b) Core_hashtbl_intf.Accessors.t
val find_or_add :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> default:(unit -> 'b) -> 'b
val find :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> 'b option
val find_exn :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> 'b
val find_and_call :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key ->
if_found:('b -> 'c) ->
if_not_found:('a Core_hashtbl_intf.Accessors.key -> 'c) -> 'c
val find_and_remove :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> 'b option
val iter_vals :
('a, 'b) Core_hashtbl_intf.Accessors.t -> f:('b -> unit) -> unit
val merge :
('c,
('k, 'a) Core_hashtbl_intf.Accessors.t ->
('k, 'b) Core_hashtbl_intf.Accessors.t ->
f:(key:'k Core_hashtbl_intf.Accessors.key ->
[ `Both of 'a * 'b | `Left of 'a | `Right of 'b ] -> 'c option) ->
('k, 'c) Core_hashtbl_intf.Accessors.t)
Core_hashtbl_intf.Accessors.map_options
val merge_into :
f:(key:'a Core_hashtbl_intf.Accessors.key -> 'b -> 'c option -> 'c option) ->
src:('a, 'b) Core_hashtbl_intf.Accessors.t ->
dst:('a, 'c) Core_hashtbl_intf.Accessors.t -> unit
val keys :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key list
val data : ('a, 'b) Core_hashtbl_intf.Accessors.t -> 'b list
val filter_inplace :
('a, 'b) Core_hashtbl_intf.Accessors.t -> f:('b -> bool) -> unit
val filteri_inplace :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
f:('a Core_hashtbl_intf.Accessors.key -> 'b -> bool) -> unit
val equal :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
('a, 'b) Core_hashtbl_intf.Accessors.t -> ('b -> 'b -> bool) -> bool
val similar :
('a, 'b1) Core_hashtbl_intf.Accessors.t ->
('a, 'b2) Core_hashtbl_intf.Accessors.t -> ('b1 -> 'b2 -> bool) -> bool
val to_alist :
('a, 'b) Core_hashtbl_intf.Accessors.t ->
('a Core_hashtbl_intf.Accessors.key * 'b) list
val validate :
name:('a Core_hashtbl_intf.Accessors.key -> string) ->
'b Validate.check ->
('a, 'b) Core_hashtbl_intf.Accessors.t Validate.check
val incr :
?by:int ->
('a, int) Core_hashtbl_intf.Accessors.t ->
'a Core_hashtbl_intf.Accessors.key -> unit
end`