package grenier
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A collection of various algorithms in OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
grenier-0.17.tbz
sha256=adce547fae9b5648d902d91173bb787466a197f81610b76757424ab33980e625
sha512=dccce42254660831fbd45129718ce01d2a4fcf10d05fa40f10eb3be4e5c94300af7235cc88c76b2e5aff7a02b8a1e8e6150d2d3376d8b630911d1dc6247b7df6
doc/grenier.physh/Physh/Set/index.html
Module Physh.SetSource
Sets of objects, compared by physical equality.
A mutable set of elements of type 'a.
create () returns a new, empty set. It does not allocate any storage until the first element is added: empty sets are cheap.
add_if_new t x adds x to t and returns true if x was already present (in which case t is unchanged). This is the "visited" test of a traversal, in a single lookup.
reset t removes all elements of t and releases its storage: t is then as cheap as a new set.
iter f t applies f to each element of t, in an unspecified order. f can look up t; if it modifies t, it is unspecified whether the added (or removed) elements are visited.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>