The most important functions and macros provided are:
- the format functions to render a single value as a string,
- the fmt macro to construct a string containing several formatted values
- the writefmt and printfmt family of macros to write a formatted string to a file and stdout, respectively
- the interp and $$ string interpolation macros to render expressions embedded in the string itself