Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a writer = Config.t -> 'a -> sexp -> Import.unit
val pp_formatter : Sexp_pretty.Import.Format.formatter writer
pp_formatter conf fmt sepx
will mutate the fmt with functions such as set_formatter_tag_functions
val pp_buffer : Sexp_pretty.Import.Buffer.t writer
val pp_out_channel : Import.Out_channel.t writer
val pp_blit : (Import.string, Import.unit) Sexp_pretty.Import.Blit.sub writer
val pretty_string : Config.t -> sexp -> Import.string
pretty_string
needs to allocate. If you care about performance, using one of the pp_*
functions above is advised.
val sexp_to_string : sexp -> Import.string