package tezos-protocol-environment

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.

Sourcetype '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.

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

Innovation. Community. Security.