package octez-proto-libs

  1. Overview
  2. Docs
Octez protocol libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

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.