Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val to_seq : 'a list -> 'a Seq.t
val of_seq : 'a Seq.t -> 'a list
val hd : 'a t -> 'a option
val tl : 'a t -> 'a list option
val nth : 'a t -> int -> 'a option
val nth_exn : 'a t -> int -> 'a
val filter : 'a t -> f:('a -> bool) -> 'a list
val find_map : 'a t -> f:('a -> 'b option) -> 'b option
val find : 'a t -> f:('a -> bool) -> 'a option
val findi : 'a t -> f:(int -> 'a -> bool) -> (int * 'a) option
val mapi : 'a t -> f:(int -> 'a -> 'b) -> 'b list
val reduce : 'a t -> f:('a -> 'a -> 'a) -> 'a option
val concat_map : 'a t -> f:('a -> 'b list) -> 'b list
val concat_mapi : 'a t -> f:(int -> 'a -> 'b list) -> 'b list
val last : 'a t -> 'a option
val remove_consecutive_duplicates : 'a t -> equal:('a -> 'a -> bool) -> 'a list
val init : int -> f:(int -> 'a) -> 'a t
val filter_map : 'a t -> f:('a -> 'b option) -> 'b list
val filter_opt : 'a option t -> 'a list
val partition_map :
'a t ->
f:('a -> [< `Fst of 'b | `Snd of 'c ]) ->
'b list * 'c list
val take_while : 'a t -> f:('a -> bool) -> 'a list