package colibri2
Hash tables for hash consing
Hash consing tables are using weak pointers, so that values that are no more referenced from anywhere else can be erased by the GC.
Look in src/core/term.ml for usage examples.
Values to be hash-consed must implement signature HashedType
below. Type t
is the type of values to be hash-consed. The user must provide an equality and a hash function over type t
, as well as a function tag
to build a new value of type t
from an old one and a unique integer tag.
module type HashedType = sig ... end
module type S = sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>