packages feed

parsec3-numbers 0.0.4 → 0.0.5

raw patch · 2 files changed

+4/−4 lines, 2 files

Files

Text/Parsec/Number.hs view
@@ -2,7 +2,7 @@ {- | Module      :  Text/Parsec/Number.hs Description :  portable number parsers-Copyright   :  (c) C. Maeder 2013+Copyright   :  (c) C. Maeder 2013-2014 License     :  BSD  Maintainer  :  chr.maeder@web.de@@ -155,9 +155,9 @@ exponentFactor :: (Floating f, Stream s m Char) => ParsecT s u m (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, Stream s m Char) => ParsecT s u m (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
parsec3-numbers.cabal view
@@ -1,5 +1,5 @@ name:          parsec3-numbers-version:       0.0.4+version:       0.0.5 build-type:    Simple cabal-version: >= 1.6 license:       BSD3