HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Package0.2.7.0Configuration

config-ini

A library for simple INI-based configuration files.

Modules

3 modules

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

Used by in this set · 1