Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a writer =
Config.t ->
'a ->
Sexp_pretty.Import.Sexp.With_layout.t_or_comment ->
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_pretty.Import.Sexp.With_layout.t_or_comment ->
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_pretty.Import.Sexp.With_layout.t_or_comment ->
Import.string