module CCArray:sig
..end
type'a
sequence =('a -> unit) -> unit
type'a
klist =unit -> [ `Cons of 'a * 'a 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
module type S =sig
..end
type'a
t ='a array
include CCArray.S
val map : ('a -> 'b) -> 'a t -> 'b t
val filter : ('a -> bool) -> 'a t -> 'a t
val filter_map : ('a -> 'b option) -> 'a t -> 'b t
val flat_map : ('a -> 'b t) -> 'a t -> 'b array
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
CCArray.flat_map
val (>>|) : 'a t -> ('a -> 'b) -> 'b t
val (>|=) : 'a t -> ('a -> 'b) -> 'b t
val except_idx : 'a t -> int -> 'a list
val (--) : int -> int -> int t
val (--^) : int -> int -> int t
val random : 'a random_gen -> 'a t random_gen
val random_non_empty : 'a random_gen -> 'a t random_gen
val random_len : int -> 'a random_gen -> 'a t random_gen
All indexing in a slice is relative to the beginning of a slice, not
to the underlying array (meaning a slice is effectively like
a regular array)
module Sub:sig
..end
module type MONO_ARRAY =sig
..end
val sort_generic : (module CCArray.MONO_ARRAY with type elt = 'elt and type t = 'arr) ->
?cmp:('elt -> 'elt -> int) -> 'arr -> unit
Array.sort
.