Module type
Class type

Module providing functions to pretty print a config or parts of a config.

val indent_s : string ref

The string used to print one level of indentation. Defaults to two spaces.

val param : Format.formatter -> string -> unit

Print a name or a parameter on a given formatter. The function will try to print with as low quoting as possible.

val params : Format.formatter -> string list -> unit

Print a list of parameters on a given formatter.

val children : Format.formatter -> Types.directive list -> unit

Print children of a directive on a given formatter.

val directive : Format.formatter -> Types.directive -> unit

Print a directive on a given formatter.

val config : Format.formatter -> Types.config -> unit

Print a config on a given formatter.