Module Ppx_string_runtime.For_stringSource

Sourceval empty : string

Empty string.

Sourceval of_string : string -> string

Literal string.

Sourceval convert : string -> string

Finish a conversion to t.

Sourceval concat : string list -> string

Combine multiple values in order.

Sourceval pad : string -> len:int -> string

Pad to some minimum length.

Sourceval identity : string -> string

Identity function.

Used for ensuring an argument has type t in expanded code, without needing the type t to be exported explicitly for a type annotation. See note above about destructive substitution.