Package0.2.7.0Configuration
config-ini
A library for simple INI-based configuration files.
- Version0.2.7.0
- CategoryConfiguration
- LicenceBSD-3-Clause
- AuthorGetty Ritter <config-ini@infinitenegativeutility.com>
- MaintainerGetty Ritter <config-ini@infinitenegativeutility.com>
- Homepagegithub.com/aisamanra/config-ini
- Pinned byhackage config-ini 0.2.7.0
- Sourcehackage.haskell.org/package/config-ini-0.2.7.0
Modules
3 modules- Data.Ini.Config22The 'config-ini' library exports some simple monadic functions to
- Data.Ini.Config.Bidir34This module presents an alternate API for parsing INI files. Unlike
- Data.Ini.Config.Raw11Warning! This module is subject to change in the future, and therefore should
Description
The config-ini library is a set of small monadic languages 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)
Depends on
6 packages- base-4.20.2.0with GHC
- containers-0.7with GHC
- megaparsec-9.7.0in this set
- text-2.1.3with GHC
- transformers-0.6.1.1with GHC
- unordered-containers-0.2.21in this set