package linol
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
LSP server library
Install
dune-project
Dependency
Authors
Maintainers
Sources
linol-0.11.tbz
sha256=6718c7ca79ebff542172f20f418f71f3f1679eb6120f543b5c5c28d85906e215
sha512=1e7e963b5af3ea861cc1367ee6e80fd9add8e6809229c2904f7a16e694cb48a2058063bd3856e6440e7b197f753474bf83c0c9ec2d78325cfef2b734eb9d4ca2
doc/linol.lsp/Linol_lsp/Array_view/index.html
Module Linol_lsp.Array_viewSource
make arr ~pos ~len can be thought of a new array for which the 0-th element is arr.(pos) and has length len if specified. If len is omitted, Array.length arr - pos is taken as the length. Importantly, the "new array" does not copy but simply references arr. Hence, creating views is constant time. However, keep in mind that since a view references an array, the array will be alive in memory as long as the view is alive.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>