Package Info

ghc-configurator-export


Pretty printer and exporter for configurations from the "configurator" library


Development/Libraries/Haskell

Pretty printers and exporters for 'Config's from the <http://hackage.haskell.org/package/configurator-0.3.0.0 configurator> library, in "Data.Configurator".

All results are intended to be valid parsing files in the configuration file syntax of the library.

For a full round trip:

> main = do > cfg <- load [Required "config.cfg"] > writeConf "config.cfg" cfg

This should load the config file, parse it, and then re-export it, rewriting the original config file. The result should be an identical configuration file (with keys potentially re-arranged and re-sorted, comments removed, etc.)

See the "Data.Configurator.Export" module for more details and ways to modify the output style.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/configurator-export

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.1.0.1-bp150.2.3 info GA Release 2018-08-01 15
  • AArch64
  • ghc-configurator-export
  • ghc-configurator-export-devel
0.1.0.1-bp150.2.5 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-configurator-export
  • ghc-configurator-export-devel
0.1.0.1-bp150.2.7 info GA Release 2018-07-30 15
  • x86-64
  • ghc-configurator-export
  • ghc-configurator-export-devel