Sexp_prettySourceinclude S with type sexp := Base.Sexp.tpp_formatter conf fmt sexp will mutate the fmt with functions such as set_formatter_tag_functions
val pp_formatter' :
next:(Base.unit -> Base.Sexp.t Base.option) ->
Config.t ->
Format.formatter ->
Base.unitpretty_string needs to allocate. If you care about performance, using one of the pp_* functions above is advised.