CStringWe include the standard library
include Sval to_seq : t -> char Stdlib.Seq.tval to_seqi : t -> (int * char) Stdlib.Seq.tval of_seq : char Stdlib.Seq.t -> tval get_utf_8_uchar : t -> int -> Stdlib.Uchar.utf_decodeval is_valid_utf_8 : t -> boolval get_utf_16be_uchar : t -> int -> Stdlib.Uchar.utf_decodeval is_valid_utf_16be : t -> boolval get_utf_16le_uchar : t -> int -> Stdlib.Uchar.utf_decodeval is_valid_utf_16le : t -> boolEquality on strings
Remove the eventual first surrounding simple quotes of a string.
Quote a string according to Rocq conventions (i.e. doubling double quotes and surrounding by double quotes)
Unquote a quoted string according to Rocq conventions (i.e. removing surrounding double quotes and undoubling double quotes); returns None if not a quoted string
replace HTML reserved characters with escape sequences, e.g. `&` -> "&"
As index_from, but takes a string instead of a char as pattern argument
As contains, but takes a string instead of a char as pattern argument
conjugate_verb_to_be returns "is" when n=1 and "are" otherwise
is_sub p s off tests whether s contains p at offset off.
edit_distance s0 s1 is the number of single character edits (understood as insertion, deletion, substitution, transposition) that are needed to change s0 into s1.
If limit is provided the function returns with limit as soon as it was determined that s0 and s1 have distance of at least limit. This is faster if you have a fixed limit, for example for spellchecking.
copied from ocaml 5.4
*
module Pred : Predicate.S with type elt = tmodule List : CList.MonoS with type elt = tAssociation lists with string as keys
val hcons : string Hashcons.fHashconsing on string