package libzipperposition
Library for Zipperposition
Install
Dune Dependency
Authors
Maintainers
Sources
2.0.tar.gz
md5=7a8e57388083ed763d12d18324c8a086
sha512=5c5ac312ada6b42907d1e91e349454a8375f7bf8165d3459721a40b707a840a3d6b3dc968a66f1040cb4de7aedf5c1c13f3e90b51337eae5ea6de41651d7bd63
doc/libzipperposition.avatar/Libzipperposition_avatar/UnionFind/Make/index.html
Module UnionFind.Make
Build a union-find module from a key/value specification
Parameters
Signature
type key = P.key
Elements that can be compared
type value = P.value
Values associated with elements
Create a union-find for the given elements. Elements are mapped to zero by default.
Find value for the given element. The value is the monoid merge of all values associated to key
's equivalence class.
Add the given value to the key's class (monoid). It modifies the value by merging it with value
. If the key does not belong to the union-find, it is added.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page