package orsetto
A library of assorted structured data interchange languages
Install
Dune Dependency
Authors
Maintainers
Sources
r1.1.1.tar.gz
sha256=81283687ce3204263bc955a332dd7b90bf5b648a990c01160f33aaa77d80962f
md5=7346293aa013c2a8974c6fb7c521166a
doc/orsetto.cf/Cf_bsearch/Float/index.html
Module Cf_bsearch.Float
The profile of binary searches with float
type index.
Use find r f a b
to search for the cursor c
between a
and b
inclusive, for which applying the ordering function f
returns zero. If the cursor is found in the search, then r.some
is applied to it. Otherwise, r.none ()
is applied.
val search : float cmp -> float -> float -> float option
Use search f a b
to find Some c
between a
and b
inclusive for which applying the ordering function f
returns zero. Otherwise, if no such cursor exists, then returns None
.
val require : float cmp -> float -> float -> float
Use opt f a b
to find the cursor between a
and b
inclusive for which applying the ordering function f
returns zero. Otherwise, if no such cursor exists, then raises Not_found
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>