config-parser 0.1.0.4 → 0.1.0.5
raw patch · 2 files changed
+16/−5 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Text.ConfigParser: bool :: Parser Bool
+ Text.ConfigParser: config :: ConfigParser c -> Parser c
+ Text.ConfigParser: configParser :: c -> [ConfigOption c] -> ConfigParser c
+ Text.ConfigParser: configParser_ :: (forall a. Key -> Parser a -> Parser a) -> [String] -> c -> [ConfigOption c] -> ConfigParser c
+ Text.ConfigParser: data ConfigOption c
+ Text.ConfigParser: data ConfigParser c
+ Text.ConfigParser: defaultKeyValue :: Key -> Parser a -> Parser a
+ Text.ConfigParser: defaultLineCommentInit :: [String]
+ Text.ConfigParser: integer :: Parser Integer
+ Text.ConfigParser: list :: (Parser a) -> Parser [a]
+ Text.ConfigParser: string :: IsString s => Parser s
+ Text.ConfigParser: type Key = String
Files
- Text/ConfigParser.hs +15/−4
- config-parser.cabal +1/−1
Text/ConfigParser.hs view
@@ -63,11 +63,21 @@ -} {-# OPTIONS_HADDOCK ignore_exports #-} module Text.ConfigParser- ( module Types- , module Parser+ ( Key+ , ConfigOption+ , ConfigParser+ , configParser_+ , configParser+ , defaultKeyValue+ , defaultLineCommentInit+ , config+ , string+ , integer+ , bool+ , list ) where -import Text.ConfigParser.Types as Types+import Text.ConfigParser.Types ( Key , ConfigOption , ConfigParser@@ -76,7 +86,8 @@ , defaultKeyValue , defaultLineCommentInit )-import Text.ConfigParser.Parser as Parser++import Text.ConfigParser.Parser ( config , string , integer
config-parser.cabal view
@@ -1,5 +1,5 @@ name: config-parser-version: 0.1.0.4+version: 0.1.0.5 synopsis: Parse config files using parsec and generate parse errors on unhandled keys description: This is yet another entry in Haskell's enourmous collection