Module Hashtbl.Creators

Parameters

Signature

type ('a, 'b) t_ = ('a Key.t'b) t
val t_of_sexp : (Sexp.t -> 'a Key.t) -> (Sexp.t -> 'b) -> Sexp.t -> ('a'b) t_
include Base__.Hashtbl_intf.Creators_generic with type ('a, 'b) t := ('a'b) t_ with type 'a key := 'a Key.t with type ('key, 'data, 'a) create_options := ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
val group : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
val create_with_key_exn : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
val create_with_key_or_error : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
val create_with_key : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
create_with_key ~get_key [x1,...,xn]
= of_alist [get_key x1, x1; ...; get_key xn, xn] 
val create_mapped : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
create_mapped get_key get_data [x1,...,xn]
= of_alist [get_key x1, get_data x1; ...; get_key xn, get_data xn] 
val of_alist_multi : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
val of_alist_exn : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
val of_alist_or_error : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
val of_alist_report_all_dups : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
val of_alist : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a
val create : ?⁠growth_allowed:bool -> ?⁠size:int -> 'a