package containers
A modular, clean and powerful extension of the OCaml standard library
Install
Dune Dependency
Authors
Maintainers
Sources
v3.10.tar.gz
md5=050afc34c00ee0ffb1bf545c52d3880f
sha512=ef4c9c27f6e535df070f2ee9e6357f6f9bf4a8a196e3f274bec00d931bbd775f939a7e8b144accc8c4568df6c25b820aaebad6e12b1d444bccb7c8f7b7989bf0
doc/containers/CCEqual/index.html
Module CCEqual
Source
Equality Combinators
Equality function. Must be transitive, symmetric, and reflexive.
map f eq
is the equality function that, given objects x
and y
, projects x
and y
using f
(e.g. using a record field) and then compares those projections with eq
. Example: map fst int
compares values of type (int * 'a)
by their first component.
Always returns false. No values are, so this is not even reflexive (i.e. x=x
is false). Be careful!
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>