Hashtbl.Make_stable
module Key : Key_stable
include Hashtbl_intf.S_binable
with type ('a, 'b) hashtbl = ('a, 'b) t
with type key = Key.t
include Hashtbl_intf.S
with type ('a, 'b) hashtbl = ('a, 'b) t
with type key = Key.t
include Hashtbl_intf.S_plain
with type ('a, 'b) hashtbl = ('a, 'b) t
with type key = Key.t
type key = Key.t
type ('a, 'b) hashtbl = ('a, 'b) t
val sexp_of_t : ('b -> Sexplib0.Sexp.t) -> (key, 'b) hashtbl -> Sexplib0.Sexp.t
type 'a key_ = key
val hashable : key Base.Hashable.t
include Hashtbl_intf.Creators
with type ('a, 'b) t := ('a, 'b) t_
with type 'a key := 'a key_
with type ('key, 'data, 'z) create_options :=
('key, 'data, 'z) Hashtbl_intf.create_options_without_hashable
val create :
('a key_, 'b, unit -> ('a, 'b) t_)
Hashtbl_intf.create_options_without_hashable
val of_alist :
('a key_,
'b,
('a key_ * 'b) list ->
[ `Ok of ('a, 'b) t_ | `Duplicate_key of 'a key_ ])
Hashtbl_intf.create_options_without_hashable
val of_alist_report_all_dups :
('a key_,
'b,
('a key_ * 'b) list ->
[ `Ok of ('a, 'b) t_ | `Duplicate_keys of 'a key_ list ])
Hashtbl_intf.create_options_without_hashable
val of_alist_or_error :
('a key_, 'b, ('a key_ * 'b) list -> ('a, 'b) t_ Base.Or_error.t)
Hashtbl_intf.create_options_without_hashable
val of_alist_exn :
('a key_, 'b, ('a key_ * 'b) list -> ('a, 'b) t_)
Hashtbl_intf.create_options_without_hashable
val of_alist_multi :
('a key_, 'b list, ('a key_ * 'b) list -> ('a, 'b list) t_)
Hashtbl_intf.create_options_without_hashable
val create_mapped :
('a key_,
'b,
get_key:('r -> 'a key_) ->
get_data:('r -> 'b) ->
'r list ->
[ `Ok of ('a, 'b) t_ | `Duplicate_keys of 'a key_ list ])
Hashtbl_intf.create_options_without_hashable
create_mapped get_key get_data [x1,...,xn]
= of_alist [get_key x1, get_data x1; ...; get_key xn, get_data xn]
val create_with_key :
('a key_,
'r,
get_key:('r -> 'a key_) ->
'r list ->
[ `Ok of ('a, 'r) t_ | `Duplicate_keys of 'a key_ list ])
Hashtbl_intf.create_options_without_hashable
create_with_key ~get_key [x1,...,xn]
= of_alist [get_key x1, x1; ...; get_key xn, xn]
val create_with_key_or_error :
('a key_,
'r,
get_key:('r -> 'a key_) ->
'r list ->
('a, 'r) t_ Base.Or_error.t)
Hashtbl_intf.create_options_without_hashable
val create_with_key_exn :
('a key_, 'r, get_key:('r -> 'a key_) -> 'r list -> ('a, 'r) t_)
Hashtbl_intf.create_options_without_hashable
val group :
('a key_,
'b,
get_key:('r -> 'a key_) ->
get_data:('r -> 'b) ->
combine:('b -> 'b -> 'b) ->
'r list ->
('a, 'b) t_)
Hashtbl_intf.create_options_without_hashable
module Provide_of_sexp (Key : sig ... end) : sig ... end
module Provide_bin_io (Key : sig ... end) : sig ... end
include sig ... end
val t_of_sexp :
(Sexplib0.Sexp.t -> 'a__002_) ->
Sexplib0.Sexp.t ->
(key, 'a__002_) hashtbl
include Hashtbl_intf.Binable.S1 with type 'v t := (key, 'v) hashtbl
val bin_shape_t : Bin_prot.Shape.t -> Bin_prot.Shape.t
val bin_size_t : ('a, (key, 'a) hashtbl) Bin_prot.Size.sizer1
val bin_write_t : ('a, (key, 'a) hashtbl) Bin_prot.Write.writer1
val bin_read_t : ('a, (key, 'a) hashtbl) Bin_prot.Read.reader1
val __bin_read_t__ : ('a, int -> (key, 'a) hashtbl) Bin_prot.Read.reader1
val bin_writer_t : ('a, (key, 'a) hashtbl) Bin_prot.Type_class.S1.writer
val bin_reader_t : ('a, (key, 'a) hashtbl) Bin_prot.Type_class.S1.reader
val bin_t : ('a, (key, 'a) hashtbl) Bin_prot.Type_class.S1.t
val stable_witness :
'a Ppx_stable_witness_runtime.Stable_witness.t ->
'a t Ppx_stable_witness_runtime.Stable_witness.t