package orsetto
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=bb2af4d8b376b2d60fa996bd4d3b90d9f3559455672540f6d7c3598af81d483b
    
    
  md5=f7bfa83013801b42fcdba607af2f012b
    
    
  doc/orsetto.cf/Cf_bsearch_data/Table/Of_char/index.html
Module Table.Of_char
A distinguished instance of tables of char type elements.
type t = Create(Char_basis).tAbstract type containing internal structure of table.
val nil : tA distinguished empty table.
val empty : t -> boolUse empty t to test if t is an empty table.
val of_seq : Char_basis.Vector.element Seq.t -> tUse of_seq s to construct a table from the sequence of vector elements s.
val find : 
  (Char_basis.Vector.index, 'r) Cf_bsearch.ret ->
  Char_basis.Search.t ->
  t ->
  'rUse find ret key tab to search for key in tab and use the binary search return adapter ret to construct the result.
val member : Char_basis.Search.t -> t -> boolUse member key tab to check if key is to be found in tab.
val search : Char_basis.Search.t -> t -> Char_basis.Vector.index optionUse search key tab to return Some index for key if it can be found in tab and None otherwise.
val require : Char_basis.Search.t -> t -> Char_basis.Vector.indexUse require key tab to return index for key if it can be found in tab. Raises Not_found if key is not in tab.
val to_seq : t -> Char_basis.Vector.element Seq.tUse 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 ... endUnsafe interfaces depend on the internal structure of tables.