package orsetto
A library of assorted structured data interchange languages
Install
dune-project
Dependency
Authors
Maintainers
Sources
r1.1.2.tar.gz
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1
doc/orsetto.cf/Cf_bsearch/Int/index.html
Module Cf_bsearch.Int
The profile of binary searches with int
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 : int cmp -> int -> int -> int 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 : int cmp -> int -> int -> int
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)"
>