package containers
A modular, clean and powerful extension of the OCaml standard library
Install
Dune Dependency
Authors
Maintainers
Sources
containers-3.16.tbz
sha256=1e7992cb2e59c0d2290d1b6c3a31531b3f310be6170b8ef3dde17ccd876b5b79
sha512=bb124e69ad0690f88393e18eee499be07761e767593558867aab32f643466b43258ced503170b154ca3b56dbd68987abd6d9438cf473707ec9866511589a5b84
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)"
>