orsetto.cf
Create.B
orsetto.cbor
orsetto.json
orsetto.ucs
Basis values are totally ordered.
include Cf_relations.Order
type t
An abstract type.
val compare : t -> t -> int
Use compare a b to compare a and b, returning 0 if the two values have equal ordering, 1 if a precedes b and -1 if a succeeds b.
compare a b
a
b
0
1
-1
val succ : t -> t
Search uses succ c to find the successor of c.
succ c
c
val pred : t -> t
Search uses pred c to find the predecessor of c.
pred c
val center : t -> t -> t
Search uses center a b to find the center between a and b.
center a b