package core_kernel
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Industrial strength alternative to OCaml's standard library
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.13.1.tar.gz
sha256=2e9dec37cf1b1a05fa3ad24ae8efd1e389b82928d598db097771405da1d6b214
md5=ee4f3b03ce7fa4cb0c27e9b02cc7712d
doc/core_kernel.weak_pointer/Weak_pointer/index.html
Module Weak_pointer
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.
val sexp_of_t :
('a -> Ppx_sexp_conv_lib.Sexp.t) ->
'a t ->
Ppx_sexp_conv_lib.Sexp.tval create : unit -> _ tcreate creates an empty weak pointer. One must set it to point it to something.
val get : 'a t -> 'a Core_kernel.Heap_block.t optionval is_some : _ t -> boolis_some t = Option.is_some (get t).
val is_none : _ t -> boolis_none t = Option.is_none (get t).
val set : 'a t -> 'a Core_kernel.Heap_block.t -> unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>