package octez-proto-libs

  1. Overview
  2. Docs
Octez protocol libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/V10/Make/Array/index.html

Module Make.ArraySource

This module is a very restricted subset of OCaml's Stdlib Array module. There is just enough exposed that you can pass arrays around to some functions and such, but not enough that you can easily shoot yourself in the foot. (See details below.)

If you need Arrays with more features, you should check the FallbackArray module.

type 'a t = 'a array

The type of native OCaml arrays. You can construct them with the literal syntax ([|"like"; "so"|]) or obtain them by deserialising data.

val concat : 'a t list -> 'a t
val length : 'a t -> int
val to_list : 'a t -> 'a list
OCaml

Innovation. Community. Security.