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_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)"
>