include module type of Stdlib.List
val length : 'a list -> intval compare_lengths : 'a list -> 'b list -> intval compare_length_with : 'a list -> int -> intval cons : 'a -> 'a list -> 'a listval tl : 'a list -> 'a listval nth : 'a list -> int -> 'aval nth_opt : 'a list -> int -> 'a optionval rev : 'a list -> 'a listval init : int -> ( int -> 'a ) -> 'a listval append : 'a list -> 'a list -> 'a listval rev_append : 'a list -> 'a list -> 'a listval concat : 'a list list -> 'a listval flatten : 'a list list -> 'a listval equal : ( 'a -> 'a -> bool ) -> 'a list -> 'a list -> boolval compare : ( 'a -> 'a -> int ) -> 'a list -> 'a list -> intval iter : ( 'a -> unit ) -> 'a list -> unitval iteri : ( int -> 'a -> unit ) -> 'a list -> unitval map : ( 'a -> 'b ) -> 'a list -> 'b listval mapi : ( int -> 'a -> 'b ) -> 'a list -> 'b listval rev_map : ( 'a -> 'b ) -> 'a list -> 'b listval filter_map : ( 'a -> 'b option ) -> 'a list -> 'b listval concat_map : ( 'a -> 'b list ) -> 'a list -> 'b listval fold_left_map : ( 'a -> 'b -> 'a * 'c ) -> 'a -> 'b list -> 'a * 'c listval fold_left : ( 'a -> 'b -> 'a ) -> 'a -> 'b list -> 'aval fold_right : ( 'a -> 'b -> 'b ) -> 'a list -> 'b -> 'bval iter2 : ( 'a -> 'b -> unit ) -> 'a list -> 'b list -> unitval map2 : ( 'a -> 'b -> 'c ) -> 'a list -> 'b list -> 'c listval rev_map2 : ( 'a -> 'b -> 'c ) -> 'a list -> 'b list -> 'c listval fold_left2 : ( 'a -> 'b -> 'c -> 'a ) -> 'a -> 'b list -> 'c list -> 'aval fold_right2 : ( 'a -> 'b -> 'c -> 'c ) -> 'a list -> 'b list -> 'c -> 'cval for_all : ( 'a -> bool ) -> 'a list -> boolval exists : ( 'a -> bool ) -> 'a list -> boolval for_all2 : ( 'a -> 'b -> bool ) -> 'a list -> 'b list -> boolval exists2 : ( 'a -> 'b -> bool ) -> 'a list -> 'b list -> boolval memq : 'a -> 'a list -> boolval find : ( 'a -> bool ) -> 'a list -> 'aval find_opt : ( 'a -> bool ) -> 'a list -> 'a optionval find_map : ( 'a -> 'b option ) -> 'a list -> 'b optionval filter : ( 'a -> bool ) -> 'a list -> 'a listval find_all : ( 'a -> bool ) -> 'a list -> 'a listval filteri : ( int -> 'a -> bool ) -> 'a list -> 'a listval partition : ( 'a -> bool ) -> 'a list -> 'a list * 'a listval partition_map :
( 'a -> ( 'b, 'c ) Stdlib.Either.t ) ->
'a list ->
'b list * 'c listval assq : 'a -> ('a * 'b) list -> 'bval assq_opt : 'a -> ('a * 'b) list -> 'b optionval mem_assq : 'a -> ('a * 'b) list -> boolval remove_assq : 'a -> ('a * 'b) list -> ('a * 'b) listval split : ('a * 'b) list -> 'a list * 'b listval combine : 'a list -> 'b list -> ('a * 'b) listval sort : ( 'a -> 'a -> int ) -> 'a list -> 'a listval stable_sort : ( 'a -> 'a -> int ) -> 'a list -> 'a listval fast_sort : ( 'a -> 'a -> int ) -> 'a list -> 'a listval sort_uniq : ( 'a -> 'a -> int ) -> 'a list -> 'a listval merge : ( 'a -> 'a -> int ) -> 'a list -> 'a list -> 'a listval to_seq : 'a list -> 'a Stdlib.Seq.tval of_seq : 'a Stdlib.Seq.t -> 'a listval mem : 'a -> eq:( 'a -> 'a -> bool ) -> 'a list -> boolval assoc : 'k -> eq:( 'k -> 'k -> bool ) -> ('k * 'a) list -> 'aval assoc_opt : 'k -> eq:( 'k -> 'k -> bool ) -> ('k * 'a) list -> 'a optionval mem_assoc : 'k -> eq:( 'k -> 'k -> bool ) -> ('k * _) list -> boolval remove_assoc :
'k ->
eq:( 'k -> 'k -> bool ) ->
('k * 'a) list ->
('k * 'a) list