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_data/Table/index.html
Module Cf_bsearch_data.Table
This module contains the signature of a search table comprising a vector of data sorted in multiplicative binary search order and an ancillary vector of adjustments for searching the final rank of the tree. Distinguished instances are provided for table searchable by char
, int
and string
values.
module type Basis = sig ... end
The signature of a table basis module.
module Char_basis :
Basis
with type Search.t = char
and type Vector.element = char
and type Vector.index = int
and type Vector.t = string
A table basis module
module Order_basis
(R : Cf_relations.Order) :
Basis
with type Search.t = R.t
and type Vector.element = R.t
and type Vector.index = int
and type Vector.t = R.t array
Use Order_basis(R)
to compose a table basis for a total order.
module Int_basis : sig ... end
A table basis module
module String_basis : sig ... end
A table basis module
module type Profile = sig ... end
The signature of table implementation modules.
module Create
(B : Basis) :
Profile
with type search := B.Search.t
and type index := B.Vector.index
and type element := B.Vector.element
and type Unsafe.vector := B.Vector.t
Use Create(B)
to create an instance of a table module.
module Of_char :
Profile
with type search := char
and type index := int
and type element := char
and type Unsafe.vector := string
A distinguished instance of tables of char
type elements.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>