package libzipperposition
Library for Zipperposition
Install
Dune Dependency
Authors
Maintainers
Sources
2.1.tar.gz
md5=e72de75e9f0f87da9e6e8c0a4d4c89f9
sha512=81becfc9badd686ab3692cd9312172aa4c4e3581b110e81770bb01e0ffbc1eb8495d0dd6d43b98f3d06e6b8c8a338174c13ebafb4e9849a3ddf89f9a3a72c287
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