HStringPerfect shared strings by hashconsing
val hash : t -> intHashing function on hashconsed strings
val mk_hstring : string -> tHashcons a string
Import a value built by another domain into the tables of this one
String functions
Omitted functions from the String module in the standard library:
copy: All strings are sharedModified signature:
sub: return a string, not a hashconsed stringfill, blit: no in-place modificationsval length : t -> intval get : t -> int -> charval create : int -> tval make : int -> char -> tval sub : t -> int -> int -> stringval iter : (char -> unit) -> t -> unitval iteri : (int -> char -> unit) -> t -> unitval index : t -> char -> intval rindex : t -> char -> intval index_from : t -> int -> char -> intval rindex_from : t -> int -> char -> intval contains : t -> char -> boolval contains_from : t -> int -> char -> boolval rcontains_from : t -> int -> char -> boolval pp_print_hstring : Stdlib.Format.formatter -> t -> unitPretty-print a hashconsed string
val print_hstring : t -> unitPretty-print a hashconsed term to the standard formatter
val string_of_hstring : t -> stringReturn the string