module type String =sig..end
Input signature for strings.
type t
The type for strings.
val empty : tThe empty string.
val length : t -> intReturns the length of the string.
val append : t -> t -> tConcatenates two strings.
val lowercase : t -> tNew string with uppercase letter translated to lowercase (correctness is only needed for ASCII code point).
val iter : (int -> unit) -> t -> unitIterates over the unicode code point of the given string.
val of_string : Xmlm.std_string -> tString from an OCaml string.
val to_utf_8 : ('a -> Xmlm.std_string -> 'a) -> 'a -> t -> 'ato_utf_8 f v s, is f (... (f (f v s1) s2) ...) sn. Where the
concatenation of s1, s2, ... sn is s as an UTF-8 stream.
val compare : t -> t -> intString comparison. Binary comparison is sufficent.