val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> intval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> boolval some_if_all_elements_are_some : 'a option t -> 'a t optionval map2_prefix : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c t * 'b tval split_at : int -> 'a t -> 'a t * 'a tval is_prefix : equal:('a -> 'a -> bool) -> 'a list -> of_:'a list -> booltype !'a longest_common_prefix_result = private {longest_common_prefix : 'a list;first_without_longest_common_prefix : 'a list;second_without_longest_common_prefix : 'a list;
}