Module Ppx_string_runtime.For_string

val empty : Base.string

Empty string.

val of_string : Base.string -> Base.string

Literal string.

val convert : Base.string -> Base.string

Finish a conversion to t.

val pad : Base.string -> len:Base.int -> Base.string

Pad to some minimum length.

Combine multiple values in order.

val finish_one : Base.string -> Base.string

Called in place of concat when there is just one component, an interpolated part, in the interpolation. This function has two purposes:

1. Ensure an argument has type t in expanded code without calling concat and without needing the type t to be exported explicitly for a type annotation. See note above about destructive substitution. 2. Globalize t when using the version of the interface designed for extensions that consume locals but produce global concatenation results.