parsec-numbers 0.0.4 → 0.0.5
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
Text/ParserCombinators/Parsec/Number.hs view
@@ -1,7 +1,7 @@ {- | Module : Text/ParserCombinators/Parsec/Number.hs Description : portable number parsers-Copyright : (c) C. Maeder 2011+Copyright : (c) C. Maeder 2011-2014 License : BSD Maintainer : chr.maeder@web.de@@ -146,9 +146,9 @@ exponentFactor :: Floating f => CharParser st (f -> f) exponentFactor = oneOf "eE" >> extExponentFactor 10 <?> "exponent" --- | pare a hexadecimal floating point starting with p (IEEE 754)+-- | parse a hexadecimal floating point starting with p (IEEE 754) hexExponentFactor :: Floating f => CharParser st (f -> f)-hexExponentFactor = char 'p' >> extExponentFactor 2 <?> "hex-exponent"+hexExponentFactor = oneOf "pP" >> extExponentFactor 2 <?> "hex-exponent" {- | parse a signed decimal and compute the exponent factor given a base. For hexadecimal exponential notation (IEEE 754) the base is 2 and the
parsec-numbers.cabal view
@@ -1,5 +1,5 @@ name: parsec-numbers-version: 0.0.4+version: 0.0.5 build-type: Simple cabal-version: >= 1.6 license: BSD3