config-ini: A library for simple INI-based configuration files.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

The config-ini library is a small monadic language for writing simple configuration languages with convenient, human-readable error messages.

parseConfig :: IniParser (Text, Int, Bool)
parseConfig = section "NETWORK" $ do
  user <- field        "user"
  port <- fieldOf      "port" number
  enc  <- fieldFlagDef "encryption" True
  return (user, port, enc)

Properties

Versions 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.2.1, 0.2.0.0, 0.2.0.1, 0.2.1.0, 0.2.1.1, 0.2.2.0, 0.2.3.0, 0.2.4.0, 0.2.5.0, 0.2.6.0, 0.2.7.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), config-ini, megaparsec (>=5.1.2 && <5.2), text (>=1.2.2 && <1.3), transformers (>=0.4.1 && <0.6), unordered-containers (>=0.2.7 && <0.3) [details]
License BSD-3-Clause
Copyright ©2016 Getty Ritter
Author Getty Ritter <gettyritter@gmail.com>
Maintainer Getty Ritter <gettyritter@gmail.com>
Category Configuration
Home page https://github.com/aisamanra/config-ini
Bug tracker https://github.com/aisamanra/config-ini/issues
Source repo head: git clone git://github.com/aisamanra/config-ini.git
Uploaded by gdritter at 2017-07-17T22:30:49Z

Modules

[Index]

Flags

Automatic Flags
NameDescriptionDefault
build-examples

Build example applications

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees