packages feed

ini 0.2.2 → 0.3.0

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ini.cabal view
@@ -1,5 +1,5 @@ name:                ini-version:             0.2.2+version:             0.3.0 synopsis:            Quick and easy configuration files in the INI format. description:         Quick and easy configuration files in the INI format. license:             BSD3
src/Data/Ini.hs view
@@ -131,7 +131,7 @@      _ <- char ']'      skipEndOfLine      values <- many1 keyValueParser-     return (name,M.fromList values)+     return (T.strip name, M.fromList values)  -- | A key-value pair. Either @foo: bar@ or @foo=bar@. keyValueParser :: Parser (Text,Text)@@ -141,7 +141,7 @@      delim <- satisfy isDelim      value <- fmap (clean delim) (takeWhile (not . isEndOfLine))      skipEndOfLine-     return (key,value)+     return (T.strip key, T.strip value)   where clean ':' = T.drop 1         clean _   = id