@ -29,6 +29,7 @@ val hd_exn : 'a t -> 'a
val tl : ' a t -> ' a t option
val tl_exn : ' a t -> ' a t
val pop_exn : ' a list -> ' a * ' a list
val mem : ' a -> ' a t -> eq : ( ' a -> ' a -> bool ) -> bool
val exists : ' a t -> f : ( ' a -> bool ) -> bool
val for_all : ' a t -> f : ( ' a -> bool ) -> bool
val find : ' a t -> f : ( ' a -> bool ) -> ' a option
@ -53,9 +54,49 @@ val rev_map_split : 'a t -> f:('a -> 'b * 'c) -> 'b list * 'c list
val combine : ' a t -> ' b t -> ( ' a * ' b ) t option
val combine_exn : ' a t -> ' b t -> ( ' a * ' b ) t
val group_by :
' a t -> hash : ( ' a -> int ) -> eq : ( ' a -> ' a -> bool ) -> ' a list t
val join_by :
eq : ( ' key -> ' key -> bool )
-> hash : ( ' key -> int )
-> ( ' a -> ' key )
-> ( ' b -> ' key )
-> merge : ( ' key -> ' a -> ' b -> ' c option )
-> ' a t
-> ' b t
-> ' c t
val join_all_by :
eq : ( ' key -> ' key -> bool )
-> hash : ( ' key -> int )
-> ( ' a -> ' key )
-> ( ' b -> ' key )
-> merge : ( ' key -> ' a list -> ' b list -> ' c option )
-> ' a t
-> ' b t
-> ' c t
val group_join_by :
eq : ( ' a -> ' a -> bool )
-> hash : ( ' a -> int )
-> ( ' b -> ' a )
-> ' a t
-> ' b t
-> ( ' a * ' b list ) t
val fold : ' a list -> init : ' s -> f : ( ' s -> ' a -> ' s ) -> ' s
val reduce : ' a t -> f : ( ' a -> ' a -> ' a ) -> ' a option
val fold2_exn : ' a t -> ' b t -> init : ' s -> f : ( ' s -> ' a -> ' b -> ' s ) -> ' s
val symmetric_diff :
cmp : ( ' a -> ' a -> int ) -> ' a t -> ' a t -> ( ' a , ' a ) Either . t t
module Assoc : sig
include module type of Assoc
val mem : ' a -> ( ' a , _ ) t -> eq : ( ' a -> ' a -> bool ) -> bool
end
val mem_assoc : ' a -> ( ' a * _ ) t -> eq : ( ' a -> ' a -> bool ) -> bool