Parameters
Signature
type ('a, !'b) t_ = ('a Key.t, 'b) t
val create : ?growth_allowed:bool -> ?size:int -> unit -> ('a, 'b) t_
val of_alist :
?growth_allowed:bool ->
?size:int ->
('a Key.t * 'b) list ->
[ `Duplicate_key of 'a Key.t | `Ok of ('a, 'b) t_ ]
val of_alist_report_all_dups :
?growth_allowed:bool ->
?size:int ->
('a Key.t * 'b) list ->
[ `Duplicate_keys of 'a Key.t list | `Ok of ('a, 'b) t_ ]
val of_alist_or_error :
?growth_allowed:bool ->
?size:int ->
('a Key.t * 'b) list ->
(('a, 'b) t_, Base__.Info.t) result
val of_alist_exn :
?growth_allowed:bool ->
?size:int ->
('a Key.t * 'b) list ->
('a, 'b) t_
val of_alist_multi :
?growth_allowed:bool ->
?size:int ->
('a Key.t * 'b) list ->
('a, 'b list) t_
val create_mapped :
?growth_allowed:bool ->
?size:int ->
get_key:('r -> 'a Key.t) ->
get_data:('r -> 'b) ->
'r list ->
[ `Duplicate_keys of 'a Key.t list | `Ok of ('a, 'b) t_ ]
val create_with_key :
?growth_allowed:bool ->
?size:int ->
get_key:('r -> 'a Key.t) ->
'r list ->
[ `Duplicate_keys of 'a Key.t list | `Ok of ('a, 'r) t_ ]
val create_with_key_or_error :
?growth_allowed:bool ->
?size:int ->
get_key:('r -> 'a Key.t) ->
'r list ->
(('a, 'r) t_, Base__.Info.t) result
val create_with_key_exn :
?growth_allowed:bool ->
?size:int ->
get_key:('r -> 'a Key.t) ->
'r list ->
('a, 'r) t_
val group :
?growth_allowed:bool ->
?size:int ->
get_key:('r -> 'a Key.t) ->
get_data:('r -> 'b) ->
combine:('b -> 'b -> 'b) ->
'r list ->
('a, 'b) t_