package containers
A modular, clean and powerful extension of the OCaml standard library
Install
Dune Dependency
Authors
Maintainers
Sources
containers-3.15.tbz
sha256=92143ceb4785ae5f8a07f3ab4ab9f6f32d31ead0536e9be4fdb818dd3c677e58
sha512=5fa80189d0e177af2302b48e72b70299d51fc36ac2019e1cbf389ff6a7f4705b10089405b5a719b3e4845b0d1349a47a967f865dc2e4e3f0d5a0167ef6c31431
doc/containers.pvec/Containers_pvec/index.html
Module Containers_pvec
Source
Functional Vectors.
These are trees with a large branching factor for logarithmic operations with a low multiplicative factor.
status: experimental
Like pop_opt
but doesn't return the last element. Returns the same vector if it's empty.
Iterate on elements with their index, in increasing order.
Iterate on elements with their index, but starting from the end.
append a b
adds all elements of b
at the end of a
. This is at least linear in the length of b
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>