Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val to_list : 'a t -> 'a list
val of_list : 'a list -> 'a t
val empty : unit -> 'a t
val length : 'a t -> int
val hd : 'a t -> 'a option
val hd_exn : 'a t -> 'a
val nth : 'a t -> int -> 'a option
val nth_exn : 'a t -> int -> 'a
val fold : 'a t -> init:'acc -> f:('acc -> 'a -> 'acc) -> 'acc
val fold_left : 'a t -> init:'acc -> f:('acc -> 'a -> 'acc) -> 'acc
val fold_right : 'a t -> init:'acc -> f:('a -> 'acc -> 'acc) -> 'acc
val foldi : 'a t -> init:'acc -> f:(int -> 'acc -> 'a -> 'acc) -> 'acc
val iter : 'a t -> f:('a -> unit) -> unit
val iteri : 'a t -> f:(int -> 'a -> unit) -> unit