package octez-proto-libs
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.
The type of native OCaml arrays. You can construct them with the literal syntax ([|"like"; "so"|]
) or obtain them by deserialising data.
val length : 'a t -> int
val to_list : 'a t -> 'a list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>