package core_kernel
Industrial strength alternative to OCaml's standard library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=fd2b8c6715794df7a810a62b226f53720f211cd344b4afc9fab0498796d6b466
doc/core_kernel.weak_pointer/Weak_pointer/index.html
Module Weak_pointer
Source
A weak pointer is a pointer to a heap block that does not cause the heap block to remain live during garbage collection.
If the block would otherwise remain live, then the weak pointer remains pointed to the block. If the block is collected, then the weak pointer is cleared.
create
creates an empty weak pointer. One must set
it to point it to something.
create_full
is similar to create
, but set
s the pointer at creation time.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>