package scfg

  1. Overview
  2. Docs
OCaml library and executable to work with the scfg configuration file format

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.tar.gz
sha256=4098b9d5d1facd20325332939d7167d54f6dd612e4915df5eebfda90eb027997
sha512=70bbb4d7ff41e165cd9b61b53bd554aba362bd51728dc3d366ce0fa0ed88dc68d58345d995188793a7220d7779eea4d5433257011a77c58e3f4498839544acf4

doc/scfg/Scfg/Pp/index.html

Module Scfg.PpSource

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

Sourceval 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.

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

Print a list of parameters on a given formatter.

Sourceval children : Format.formatter -> Types.config -> unit

Print children of a directive on a given formatter.

Print a directive on a given formatter.

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

Print a config on a given formatter.

OCaml

Innovation. Community. Security.