Module IStdlib.ARList
include sig ... end
val empty : 'a t
val singleton : 'a -> 'a t
val of_list : 'a list -> 'a t
val cons : 'a -> 'a t -> 'a t
val snoc : 'a t -> 'a -> 'a t
val append : 'a t -> 'a t -> 'a t
val rev : 'a t -> 'a t
val is_empty : 'a t -> bool
val is_singleton : 'a t -> 'a option
val is_singleton_or_more : 'a t -> 'a IContainer.singleton_or_more
val hd_tl_exn : 'a t -> 'a * 'a t
val front_last_exn : 'a t -> 'a t * 'a
val hd_exn : 'a t -> 'a
val last_exn : 'a t -> 'a
val hd : 'a t -> 'a option
val last : 'a t -> 'a option
val fold_left : ('a t, 'a, 'accum) IStdlib.IStd.Container.fold
val fold_right : ('a t, 'a, 'accum) IStdlib.IStd.Container.fold
val fold_unordered : ('a t, 'a, 'accum) IStdlib.IStd.Container.fold
Always better than
fold_left
when you do not care about the order.