package containers
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A modular, clean and powerful extension of the OCaml standard library
Install
dune-project
Dependency
Authors
Maintainers
Sources
containers-3.17.tbz
sha256=0f70824867269c02bf01ae12206aa47a6f669d69f1954c19e68ece9f444f1cba
sha512=11de2d7b7173659e6b83c487ac116a93d4b780b86da07386e7604f8fd45f6841e93cba59dba59ed7dbf6e1bc26561202ae1d2e7238a12f588dfd557d4f2da589
doc/containers.pvec/Containers_pvec/index.html
Module Containers_pvecSource
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.
A basic, fairly slow flat_map operation like CCList.flat_map. It exists for convenience but is not where this data structure shines.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>