aeson-parsec-picky 0.1.0.0 → 0.1.0.1
raw patch · 3 files changed
+5/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +1/−1
- aeson-parsec-picky.cabal +3/−3
- src/Data/Aeson/Parser/Parsec/Picky.hs +1/−1
README.md view
@@ -70,7 +70,7 @@ , address :: String } deriving (Generic, Show) -instance FromJSON Contact where+instance FromJSON Contact printContacts :: [Contact] -> IO () printContacts = mapM_ print
aeson-parsec-picky.cabal view
@@ -6,7 +6,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.1.0.0+version: 0.1.0.1 -- A short (one-line) description of the package. synopsis: Alternative JSON parser based on Parsec and Aeson@@ -67,7 +67,7 @@ -- Directories containing source files. hs-source-dirs: src - ghc-options: -Wall+ ghc-options: -Wall -fwarn-tabs -fwarn-implicit-prelude -- Base language which the package is written in. default-language: Haskell2010@@ -79,4 +79,4 @@ source-repository this type: git location: https://github.com/FPBrno/aeson-parsec-picky- tag: v0.1.0.0+ tag: v0.1.0.1
src/Data/Aeson/Parser/Parsec/Picky.hs view
@@ -127,7 +127,7 @@ baseNumber = read . concat <$> sequence [ opt $ P.string "-" , P.string "0" <|> many1 digit- , opt $ (:) <$> char ':' <*> many1 digit+ , opt $ (:) <$> char '.' <*> many1 digit , opt $ concat <$> sequence [ P.string "e" <|> P.string "E" , opt $ P.string "+" <|> P.string "-"