homepage: http://github.com/mstksg/configurator-export
changelog-type: markdown
hash: ad6d0ac555b0f6d1851895a7803fcc22dba5395a3b94ddf3e9d3e850d44c9a86
test-bench-deps:
  base: -any
  configurator-export: -any
maintainer: justin@jle.im
synopsis: ! 'Pretty printer and exporter for configurations from

  the "configurator" library.'
changelog: ! '0.1.0.0

  -------

  <https://github.com/mstksg/configurator-export/releases/tag/v0.1.0.0>


  *   Initial release!

'
basic-deps:
  base: ! '>=4.7 && <5'
  configurator: -any
  unordered-containers: -any
  text: -any
  semigroups: -any
  pretty: -any
all-versions:
- '0.1.0.0'
author: Justin Le
latest: '0.1.0.0'
description-type: markdown
description: ! "configurator-export\n===================\n\nPretty printers and exporters
  for 'Config's from the great\n*[configurator](http://hackage.haskell.org/package/configurator)*
  library.\n\nAll results are intended to be valid parsing files in the configuration
  file\nsyntax of the library.\n\nFor a full round trip:\n\n~~~haskell\nmain = do\n
  \ cfg <- load [Required \"config.cfg\"]\n  writeConf \"config.cfg\" cfg\n~~~\n\nThis
  should load the config file, parse it, and then re-export it, rewriting\nthe original
  config file.  The result should be an identical configuration\nfile (with keys potentially
  re-arranged and re-sorted, comments removed, etc.)\n\nCan also export/print any
  `HashMap Name Value`, in the form exported from a\n`Config` using `getMap`.  Modify
  a map yourself to dynically\ngenerate/customize configuration files!\n\nSample output:\n\n~~~haskell\nfoo
  {\n    bar {\n        baz1  = true\n        baz2  = [1, 0.6, \"hello\", true]\n
  \   }\n    aardvark  = \"banana\"\n    monkey    = [true, false, 1.9e-3]\n    zebra
  \    = 24\n}\n\nfoo2 {\n    bar = 8.1e-8\n}\n\napple   = [\"cake\", true]\norange
  \ = 8943\n~~~\n\nFurther configuration on sorting of keys, displaying of bools and
  floats, etc.\nis possible by passing in custom `ConfStyle` style option values.\n\n\n"
license-name: BSD3

Update from Hackage at 2016-01-17T08:35:31+0000
Update from Hackage at 2016-01-17T08:35:31+0000
