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