config-parser
Parse config files using parsec and generate parse errors on unhandled keys
This is yet another entry in Haskell's enourmous collection
of config-file parsing libraries. It lacks many of the
bells and whistles of other config-file parsing libraries,
such as hierarchical sections and on-the-fly reloading. On
the other hand, it has a combination of features I was
unable to find in other libraries:
* Keys and values are parsed with configurable parsec
parsers, resulting in flexible syntax and pretty
error messages.
* Custom parsers can be created with parsec to handle
values of any type.
* Keys that aren't explicitly handled result in parse
errors.
If you don't need all of these features, there are
probably better libraries out there for you. If you're free
to use its idiosyncratic file format, the config-value
library, in particular, is excelent.
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 1.2.0.0 | 2018-01-21 04:20 UTC | BenHamlin | +101/−14 lines, 5 filesPVP ok | |
| 1.1.0.1 | 2018-01-20 12:36 UTC | BenHamlin | +60/−22 lines, 5 filesdep ~base | |
| 1.1.0.0 | 2018-01-20 08:41 UTC | BenHamlin | +85/−174 lines, 6 filesdep +extra | |
| 1.0.0.0 | 2017-12-01 01:48 UTC | BenHamlin | +170/−108 lines, 7 filesPVP ok | |
| 0.2.0.0 | 2017-11-13 11:42 UTC | BenHamlin | +7/−5 lines, 2 filesPVP ok | |
| 0.1.0.6 | 2017-11-13 11:33 UTC | BenHamlin | +2/−2 lines, 1 filesPVP ok | |
| 0.1.0.5 | 2017-11-13 11:30 UTC | BenHamlin | +16/−5 lines, 2 filesPVP: minor bump suggested | |
| 0.1.0.4 | 2017-11-13 11:22 UTC | BenHamlin | +5/−5 lines, 1 filesPVP ok | |
| 0.1.0.3 | 2017-11-13 10:50 UTC | BenHamlin | +2/−1 lines, 2 filesPVP ok | |
| 0.1.0.2 | 2017-11-13 10:49 UTC | BenHamlin | +45/−42 lines, 2 filesPVP ok | |
| 0.1.0.1 | 2017-11-13 10:33 UTC | BenHamlin | +6/−3 lines, 1 filesPVP ok | |
| 0.1.0.0 | 2017-11-13 10:20 UTC | BenHamlin | +1091/−0 lines, 9 filesdep +basedep +hspecdep +lenssetup-changed |
Dependencies of config-parser-1.2.0.0
base >=4.9 && <4.11 4.10.1.0 → 4.22.1.0 newer than bounds
| 2026-12-01 12:38 UTC | 4.22.1.0 newer than bounds | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 newer than bounds | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 newer than bounds | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 newer than bounds | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 newer than bounds | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
extra >=1.5 && <1.7 1.6.21 → 1.8.1 newer than bounds
| 2025-11-23 14:32 UTC | 1.8.1 newer than bounds | +48/−4 lines, 6 filesPVP ok |
| 2024-10-19 13:35 UTC | 1.8 newer than bounds | +113/−18 lines, 9 filesdep ~basePVP ok |
| 2024-05-11 15:55 UTC | 1.7.16 newer than bounds | +4/−2 lines, 3 filesdep ~basePVP: major bump suggested |
| 2024-05-10 13:07 UTC | 1.7.15 newer than bounds | +21/−8 lines, 9 filesPVP ok |
| 2023-07-01 19:19 UTC | 1.7.14 newer than bounds | +10/−4 lines, 3 filesdep ~basePVP ok |
showing 5 of 74 versions
hspec >=2.4 && <2.5 2.4.8 → 2.11.18 newer than bounds
| 2026-10-01 14:14 UTC | 2.11.18 newer than bounds | +7/−4 lines, 3 filesdep ~hspec-coredep ~hspec-discoverPVP ok |
| 2026-03-04 18:01 UTC | 2.11.17 newer than bounds | +11/−19 lines, 6 filesdep ~hspec-coredep ~hspec-discoverPVP ok |
| 2025-12-12 14:07 UTC | 2.11.16 newer than bounds | +25/−7 lines, 5 filesdep ~hspec-coredep ~hspec-discoverPVP: major bump suggested |
| 2025-12-08 03:04 UTC | 2.11.15 newer than bounds | +8/−5 lines, 3 filesdep ~hspec-coredep ~hspec-discoverPVP ok |
| 2025-09-30 14:32 UTC | 2.11.14 newer than bounds | +9/−7 lines, 4 filesdep ~hspec-coredep ~hspec-discoverPVP: major bump suggested |
showing 5 of 171 versions
lens >=4.15 && <4.16 4.15.4 → 5.3.6 newer than bounds
| 2026-01-10 22:05 UTC | 5.3.6 newer than bounds | +39/−28 lines, 7 filesdep −ghc-primdep −transformers-compatdep ~template-haskellPVP ok |
| 2025-06-17 11:56 UTC | 5.3.5 newer than bounds | +99/−99 lines, 5 filesdep +tastydep +tasty-hunitdep +tasty-quickcheckdep −HUnitdep −test-frameworkdep −test-framework-hunitdep ~parallelPVP: major bump suggested |
| 2025-03-03 12:24 UTC | 5.3.4 newer than bounds | +156/−44 lines, 14 filesdep ~containersPVP ok |
| 2024-12-28 16:38 UTC | 5.3.3 newer than bounds | +198/−36 lines, 11 filesdep ~basedep ~template-haskellPVP ok |
| 2024-05-12 23:00 UTC | 5.3.2 newer than bounds | +131/−19 lines, 7 filesdep ~hashablePVP: major bump suggested |
showing 5 of 162 versions
parsec >=3.1 && <3.2 3.1.17.0 → 3.1.18.0
| 2025-01-05 00:08 UTC | 3.1.18.0 | +159/−170 lines, 7 filesdep −faildep ~basedep ~bytestringdep ~mtlPVP: major bump suggested |
| 2023-10-04 06:08 UTC | 3.1.17.0 | +112/−25 lines, 8 filesdep +deepseqdep ~basedep ~bytestringdep ~tastyPVP: major bump suggested |
| 2023-01-08 20:47 UTC | 3.1.16.1 | +6/−2 lines, 3 filesPVP ok |
| 2023-01-08 18:03 UTC | 3.1.16.0 | +124/−19 lines, 8 filesdep ~basePVP ok |
| 2022-05-10 10:14 UTC | 3.1.15.1 | +19/−15 lines, 9 filesdep ~basedep ~mtldep ~textPVP ok |
showing 5 of 27 versions
text >=1.2 && <1.3 1.2.5.0 → 2.1.5 newer than bounds
| 2026-11-27 23:30 UTC | 2.1.5 newer than bounds | +33786/−32979 lines, 58 filesPVP: major bump suggested |
| 2026-01-28 08:30 UTC | 2.1.4 newer than bounds | +30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok |
| 2025-08-01 20:08 UTC | 2.1.3 newer than bounds | +2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok |
| 2024-10-26 13:22 UTC | 2.1.2 newer than bounds | +43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested |
| 2024-02-16 22:16 UTC | 2.1.1 newer than bounds | +986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested |
showing 5 of 83 versions
Reverse dependencies
1 packages depend on config-parser