package sexp_pretty
-
sexp_pretty
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a writer =
Config.t ->
'a ->
Sexplib.Sexp.With_layout.t_or_comment ->
Base.unit
val pp_formatter : Stdlib.Format.formatter writer
pp_formatter conf fmt sexp
will mutate the fmt with functions such as set_formatter_tag_functions
val pp_formatter' :
next:(Base.unit -> Sexplib.Sexp.With_layout.t_or_comment Base.option) ->
Config.t ->
Stdlib.Format.formatter ->
Base.unit
val pp_buffer : Base.Buffer.t writer
val pp_out_channel : Stdlib.out_channel writer
val pp_blit : (Base.string, Base.unit) Base.Blit.sub writer
val pretty_string :
Config.t ->
Sexplib.Sexp.With_layout.t_or_comment ->
Base.string
pretty_string
needs to allocate. If you care about performance, using one of the pp_*
functions above is advised.