jon.recoil.org

Module type Sexp.Pretty_print_to_formatter

val pp_hum : Stdlib.Format.formatter -> Sexplib0.Sexp.t -> unit @@ portable

pp_hum ppf sexp outputs S-expression sexp to formatter ppf in human readable form.

val pp_hum_indent : int -> Stdlib.Format.formatter -> Sexplib0.Sexp.t -> unit @@ portable

pp_hum_indent n ppf sexp outputs S-expression sexp to formatter ppf in human readable form and indentation level n.

val pp_mach : Stdlib.Format.formatter -> Sexplib0.Sexp.t -> unit @@ portable

pp_mach ppf sexp outputs S-expression sexp to formatter ppf in machine readable (i.e. most compact) form.

val pp : Stdlib.Format.formatter -> Sexplib0.Sexp.t -> unit @@ portable

Same as pp_mach.