package core_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t
val length : _ t -> Base.int

Make1* guarantees to only call create_like ~len t with len > 0 if length t > 0.

type 'a z

create_bool, get, and set are just used for unit tests. z is needed for Flat_tuple_array, elt is needed for Option_array.

val create_bool : len:Base.int -> Base.bool z t
val get : 'a z t -> Base.int -> 'a Elt.t
val set : 'a z t -> Base.int -> 'a Elt.t -> Base.unit