sig
type 'a t
val empty : 'a CCArray.S.t
val equal : 'a CCArray.equal -> 'a CCArray.S.t CCArray.equal
val compare : 'a CCArray.ord -> 'a CCArray.S.t CCArray.ord
val get : 'a CCArray.S.t -> int -> 'a
val get_safe : 'a CCArray.S.t -> int -> 'a option
val set : 'a CCArray.S.t -> int -> 'a -> unit
val length : 'a CCArray.S.t -> int
val fold : ('a -> 'b -> 'a) -> 'a -> 'b CCArray.S.t -> 'a
val foldi : ('a -> int -> 'b -> 'a) -> 'a -> 'b CCArray.S.t -> 'a
val fold_while :
('a -> 'b -> 'a * [ `Continue | `Stop ]) -> 'a -> 'b CCArray.S.t -> 'a
val iter : ('a -> unit) -> 'a CCArray.S.t -> unit
val iteri : (int -> 'a -> unit) -> 'a CCArray.S.t -> unit
val blit : 'a CCArray.S.t -> int -> 'a CCArray.S.t -> int -> int -> unit
val reverse_in_place : 'a CCArray.S.t -> unit
val find : ('a -> 'b option) -> 'a CCArray.S.t -> 'b option
val findi : (int -> 'a -> 'b option) -> 'a CCArray.S.t -> 'b option
val find_idx : ('a -> bool) -> 'a CCArray.S.t -> (int * 'a) option
val lookup : ?cmp:'a CCArray.ord -> 'a -> 'a CCArray.S.t -> int option
val lookup_exn : ?cmp:'a CCArray.ord -> 'a -> 'a CCArray.S.t -> int
val bsearch :
?cmp:('a -> 'a -> int) ->
'a ->
'a CCArray.S.t ->
[ `All_bigger | `All_lower | `At of int | `Empty | `Just_after of int ]
val for_all : ('a -> bool) -> 'a CCArray.S.t -> bool
val for_all2 :
('a -> 'b -> bool) -> 'a CCArray.S.t -> 'b CCArray.S.t -> bool
val exists : ('a -> bool) -> 'a CCArray.S.t -> bool
val exists2 :
('a -> 'b -> bool) -> 'a CCArray.S.t -> 'b CCArray.S.t -> bool
val fold2 :
('acc -> 'a -> 'b -> 'acc) ->
'acc -> 'a CCArray.S.t -> 'b CCArray.S.t -> 'acc
val iter2 : ('a -> 'b -> unit) -> 'a CCArray.S.t -> 'b CCArray.S.t -> unit
val shuffle : 'a CCArray.S.t -> unit
val shuffle_with : Random.State.t -> 'a CCArray.S.t -> unit
val random_choose : 'a CCArray.S.t -> 'a CCArray.random_gen
val to_seq : 'a CCArray.S.t -> 'a CCArray.sequence
val to_gen : 'a CCArray.S.t -> 'a CCArray.gen
val to_klist : 'a CCArray.S.t -> 'a CCArray.klist
val pp :
?sep:string ->
(Buffer.t -> 'a -> unit) -> Buffer.t -> 'a CCArray.S.t -> unit
val pp_i :
?sep:string ->
(Buffer.t -> int -> 'a -> unit) -> Buffer.t -> 'a CCArray.S.t -> unit
val print :
?sep:string ->
(Format.formatter -> 'a -> unit) ->
Format.formatter -> 'a CCArray.S.t -> unit
end