package fix

  1. Overview
  2. Docs

The functor Of_array converts an ordinary array to a vector. No runtime check is involved. The type component n of the result serves as a fresh type-level identifier for the length of this vector.

Parameters

module A : sig ... end

Signature

type n
type a = A.a
val vector : (n, a) t
OCaml

Innovation. Community. Security.