package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.0.1.tar.gz
sha256=f64814687276bad56483b2b8dfaaf70d0d6485f67fe5d44bff34bfa47af1896e
md5=3a15a377800cf988a310b4082406c685

doc/orsetto.cf/Cf_bsearch_data/Table/Of_string/index.html

Module Table.Of_string

A distinguished instance of tables of string type elements.

Abstract type containing internal structure of table.

val nil : t

A distinguished empty table.

val empty : t -> bool

Use empty t to test if t is an empty table.

Use of_seq s to construct a table from the sequence of vector elements s.

Use find ret key tab to search for key in tab and use the binary search return adapter ret to construct the result.

val member : String_basis.Search.t -> t -> bool

Use member key tab to check if key is to be found in tab.

Use search key tab to return Some index for key if it can be found in tab and None otherwise.

Use require key tab to return index for key if it can be found in tab. Raises Not_found if key is not in tab.

Use to_seq tab to make a sequence of the elements in the underlying vector. These are presented in binary search order, not monotonically increasing order.

module Unsafe : sig ... end

Unsafe interfaces depend on the internal structure of tables.

OCaml

Innovation. Community. Security.