package dolmen
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module Dolmen_std.VecSource
Resieable arrays
This is a minimalistic implementation of resizeable arrays.
Type and array creation
Abstract type of vectors of 'a
make cap dummy creates a new vector filled with dummy. The vector is initially empty but its underlying array has capacity cap. dummy will stay alive as long as the vector
Size manipulation
shrink vec sz resets size of vec to sz. Assumes sz >=0 && sz <= size vec
Get/Set operations
set the element at the given index, either already set or the first free slot if not (is_full vec), or
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page