package scfg

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

val param : Stdlib.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 : Stdlib.Format.formatter -> string list -> unit

Print a list of parameters on a given formatter.

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

Print children of a directive on a given formatter.

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

Print a directive on a given formatter.

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

Print a config on a given formatter.

OCaml

Innovation. Community. Security.