package dose3

  1. Overview
  2. Docs
type 'a t = 'a array
val create : int -> 'a -> 'b array
val init : int -> (int -> 'a) -> 'a array
val get : 'a array -> int -> 'b
val set : 'a array -> int -> 'b -> unit
val iteri : (int -> 'a -> unit) -> 'b array -> unit
val map : ('a -> 'b) -> 'a array -> 'b array
val mapi : (int -> 'a -> 'b) -> 'c array -> 'd array
val foldi : (int -> 'a -> 'b -> 'c) -> 'd array -> 'e -> 'f
val fold : ('a -> 'b -> 'b) -> 'a array -> 'b -> 'b
OCaml

Innovation. Community. Security.