sig
type 'a sequence = ('a -> unit) -> unit
type 'a klist = unit -> [ `Cons of 'a * 'a CCArray_slice.klist | `Nil ]
type 'a gen = unit -> 'a option
type 'a equal = 'a -> 'a -> bool
type 'a ord = 'a -> 'a -> int
type 'a random_gen = Random.State.t -> 'a
type 'a printer = Format.formatter -> 'a -> unit
type 'a t
val empty : 'a CCArray_slice.t
val equal :
'a CCArray_slice.equal -> 'a CCArray_slice.t CCArray_slice.equal
val compare : 'a CCArray_slice.ord -> 'a CCArray_slice.t CCArray_slice.ord
val get : 'a CCArray_slice.t -> int -> 'a
val get_safe : 'a CCArray_slice.t -> int -> 'a option
val make : 'a array -> int -> len:int -> 'a CCArray_slice.t
val of_slice : 'a array * int * int -> 'a CCArray_slice.t
val to_slice : 'a CCArray_slice.t -> 'a array * int * int
val to_list : 'a CCArray_slice.t -> 'a list
val full : 'a array -> 'a CCArray_slice.t
val underlying : 'a CCArray_slice.t -> 'a array
val copy : 'a CCArray_slice.t -> 'a array
val sub : 'a CCArray_slice.t -> int -> int -> 'a CCArray_slice.t
val set : 'a CCArray_slice.t -> int -> 'a -> unit
val length : 'a CCArray_slice.t -> int
val fold : ('a -> 'b -> 'a) -> 'a -> 'b CCArray_slice.t -> 'a
val foldi : ('a -> int -> 'b -> 'a) -> 'a -> 'b CCArray_slice.t -> 'a
val fold_while :
('a -> 'b -> 'a * [ `Continue | `Stop ]) ->
'a -> 'b CCArray_slice.t -> 'a
val iter : ('a -> unit) -> 'a CCArray_slice.t -> unit
val iteri : (int -> 'a -> unit) -> 'a CCArray_slice.t -> unit
val blit :
'a CCArray_slice.t -> int -> 'a CCArray_slice.t -> int -> int -> unit
val reverse_in_place : 'a CCArray_slice.t -> unit
val sorted : ('a -> 'a -> int) -> 'a CCArray_slice.t -> 'a array
val sort_indices : ('a -> 'a -> int) -> 'a CCArray_slice.t -> int array
val sort_ranking : ('a -> 'a -> int) -> 'a CCArray_slice.t -> int array
val find : ('a -> 'b option) -> 'a CCArray_slice.t -> 'b option
val findi : (int -> 'a -> 'b option) -> 'a CCArray_slice.t -> 'b option
val find_idx : ('a -> bool) -> 'a CCArray_slice.t -> (int * 'a) option
val lookup :
?cmp:'a CCArray_slice.ord -> 'a -> 'a CCArray_slice.t -> int option
val lookup_exn :
?cmp:'a CCArray_slice.ord -> 'a -> 'a CCArray_slice.t -> int
val bsearch :
?cmp:('a -> 'a -> int) ->
'a ->
'a CCArray_slice.t ->
[ `All_bigger | `All_lower | `At of int | `Empty | `Just_after of int ]
val for_all : ('a -> bool) -> 'a CCArray_slice.t -> bool
val for_all2 :
('a -> 'b -> bool) -> 'a CCArray_slice.t -> 'b CCArray_slice.t -> bool
val exists : ('a -> bool) -> 'a CCArray_slice.t -> bool
val exists2 :
('a -> 'b -> bool) -> 'a CCArray_slice.t -> 'b CCArray_slice.t -> bool
val fold2 :
('acc -> 'a -> 'b -> 'acc) ->
'acc -> 'a CCArray_slice.t -> 'b CCArray_slice.t -> 'acc
val iter2 :
('a -> 'b -> unit) -> 'a CCArray_slice.t -> 'b CCArray_slice.t -> unit
val shuffle : 'a CCArray_slice.t -> unit
val shuffle_with : Random.State.t -> 'a CCArray_slice.t -> unit
val random_choose : 'a CCArray_slice.t -> 'a CCArray_slice.random_gen
val to_seq : 'a CCArray_slice.t -> 'a CCArray_slice.sequence
val to_gen : 'a CCArray_slice.t -> 'a CCArray_slice.gen
val to_klist : 'a CCArray_slice.t -> 'a CCArray_slice.klist
val pp :
?sep:string ->
'a CCArray_slice.printer -> 'a CCArray_slice.t CCArray_slice.printer
val pp_i :
?sep:string ->
(int -> 'a CCArray_slice.printer) ->
'a CCArray_slice.t CCArray_slice.printer
end