package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

dune-project
 Dependency

Authors

Maintainers

Sources

r1.0.2.tar.gz
sha256=bb2af4d8b376b2d60fa996bd4d3b90d9f3559455672540f6d7c3598af81d483b
md5=f7bfa83013801b42fcdba607af2f012b

doc/orsetto.cf/Cf_bsearch/Create/argument-1-B/index.html

Parameter Create.B

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.

val succ : t -> t

Search uses succ c to find the successor of c.

val pred : t -> t

Search uses pred c to find the predecessor of c.

val center : t -> t -> t

Search uses center a b to find the center between a and b.

OCaml

Innovation. Community. Security.