include module type of Stdlib.ListLabels
val length : 'a list -> intval compare_lengths : 'a list -> 'b list -> intval compare_length_with : 'a list -> len: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 : len:int -> f:( 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 : eq:( 'a -> 'a -> bool ) -> 'a list -> 'a list -> boolval compare : cmp:( 'a -> 'a -> int ) -> 'a list -> 'a list -> intval iter : f:( 'a -> unit ) -> 'a list -> unitval iteri : f:( int -> 'a -> unit ) -> 'a list -> unitval map : f:( 'a -> 'b ) -> 'a list -> 'b listval mapi : f:( int -> 'a -> 'b ) -> 'a list -> 'b listval rev_map : f:( 'a -> 'b ) -> 'a list -> 'b listval filter_map : f:( 'a -> 'b option ) -> 'a list -> 'b listval concat_map : f:( 'a -> 'b list ) -> 'a list -> 'b listval fold_left_map :
f:( 'a -> 'b -> 'a * 'c ) ->
init:'a ->
'b list ->
'a * 'c listval fold_left : f:( 'a -> 'b -> 'a ) -> init:'a -> 'b list -> 'aval fold_right : f:( 'a -> 'b -> 'b ) -> 'a list -> init:'b -> 'bval iter2 : f:( 'a -> 'b -> unit ) -> 'a list -> 'b list -> unitval map2 : f:( 'a -> 'b -> 'c ) -> 'a list -> 'b list -> 'c listval rev_map2 : f:( 'a -> 'b -> 'c ) -> 'a list -> 'b list -> 'c listval fold_left2 :
f:( 'a -> 'b -> 'c -> 'a ) ->
init:'a ->
'b list ->
'c list ->
'aval fold_right2 :
f:( 'a -> 'b -> 'c -> 'c ) ->
'a list ->
'b list ->
init:'c ->
'cval for_all : f:( 'a -> bool ) -> 'a list -> boolval exists : f:( 'a -> bool ) -> 'a list -> boolval for_all2 : f:( 'a -> 'b -> bool ) -> 'a list -> 'b list -> boolval exists2 : f:( 'a -> 'b -> bool ) -> 'a list -> 'b list -> boolval memq : 'a -> set:'a list -> boolval find : f:( 'a -> bool ) -> 'a list -> 'aval find_opt : f:( 'a -> bool ) -> 'a list -> 'a optionval find_map : f:( 'a -> 'b option ) -> 'a list -> 'b optionval filter : f:( 'a -> bool ) -> 'a list -> 'a listval find_all : f:( 'a -> bool ) -> 'a list -> 'a listval filteri : f:( int -> 'a -> bool ) -> 'a list -> 'a listval partition : f:( 'a -> bool ) -> 'a list -> 'a list * 'a listval partition_map :
f:( '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 -> map:('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 : cmp:( 'a -> 'a -> int ) -> 'a list -> 'a listval stable_sort : cmp:( 'a -> 'a -> int ) -> 'a list -> 'a listval fast_sort : cmp:( 'a -> 'a -> int ) -> 'a list -> 'a listval sort_uniq : cmp:( 'a -> 'a -> int ) -> 'a list -> 'a listval merge : cmp:( '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 ) -> set:'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 ) -> map:('k * _) list -> boolval remove_assoc :
'k ->
eq:( 'k -> 'k -> bool ) ->
('k * 'a) list ->
('k * 'a) list