Module Lib.List

val make : int -> 'a -> 'a list
val table : int -> (int -> 'a) -> 'a list
val take : int -> 'a list -> 'a list
val drop : int -> 'a list -> 'a list
val last : 'a list -> 'a
val split_last : 'a list -> 'a list * 'a
val index_of : 'a -> 'a list -> int option
val index_where : ('a -> bool) -> 'a list -> int option
val map_filter : ('a -> 'b option) -> 'a list -> 'b list
val concat_map : ('a -> 'b list) -> 'a list -> 'b list
val concat_map_s : ('a -> 'b list Lwt.t) -> 'a list -> 'b list Lwt.t
val pairwise : ('a -> 'a -> 'b) -> 'a list -> 'b list