package ocaml-base-compiler
Official release 5.2.1
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-5.2.1.tar.gz
sha256=2d0f8090951a97a2c0e5b8a11e90096c0e1791d2e471e4a67f87e3b974044cd0
doc/compiler-libs.common/Diffing/Define/module-type-Parameters/index.html
Module type Define.Parameters
val weight : change -> int
weight ch
returns the weight of the change ch
. Used to find the smallest patch.
test st xl xr
tests if the elements xl
and xr
are co mpatible (Ok
) or not (Error
).
val update : change -> D.state -> update_result
update ch st
returns the new state after applying a change. The update_result
type also contains expansions in the variadic case.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>