úÎ?à=N0      !"#$%&'()*+,-./portable number parsers(c) C. Maeder 2011-2014BSDchr.maeder@web.de provisionalportableSafe:0Gparse a decimal unsigned floating point number containing a dot, e or EGparse a floating point number possibly containing a decimal dot, e or E€parse a floating point number possibly starting with a decimal dot. Note, that a single decimal point or a number starting with .E is illegal.same as b but returns a non-negative integral wrapped by Left if a fractional part and exponent is missing same as b but returns a non-negative integral wrapped by Left if a fractional part and exponent is missing )parse a hexadecimal floating point number$parse a binary floating point number1parse hexadecimal, octal or decimal integrals or Pparse any hexadecimal, octal, decimal or floating point number following a zero Cparse a floating point number given the number before a dot, e or E Gparse a hex floating point number given the number before a dot, p or P Jparse a binary floating point number given the number before a dot, p or P Cparse a floating point number given the number before a dot, e or E Pparse a floating point number given the number before the fraction and exponent nparse a floating point number given the number before the fraction and exponent that must follow the fraction 4parse a floating point exponent starting with e or E=parse a hexadecimal floating point starting with p (IEEE 754)¢parse a signed decimal and compute the exponent factor given a base. For hexadecimal exponential notation (IEEE 754) the base is 2 and the leading character a p. Rcompute the factor given by the number following e or E. This implementation uses ** rather than ^) for more efficiency for large integers. 2parse a fractional number containing a decimal dot;parse a fractional number possibly containing a decimal dot>parse a fractional number possibly starting with a decimal dota decimal fractionala hexadecimal fractionala binary fractionalsame as U but returns a non-negative integral wrapped by Left if a fractional part is missing 1parse hexadecimal, octal or decimal integrals or Lparse any hexadecimal, octal, decimal or fractional number following a zero 9parse a fractional number given the number before the dotNcombine the given number before the dot with a parser for the fractional part 9parse a dot followed by decimal digits as fractional part=parse a dot followed by hexadecimal digits as fractional part 8parse a dot followed by binary digits as fractional part!@parse a dot followed by base dependent digits as fractional part"…compute the fraction given by a sequence of digits following the dot. Only one division is performed and trailing zeros are ignored. #parse an optional $ immediately followed by a (s. Note, that in Daan Leijen's code the sign was wrapped as lexeme in order to skip comments and spaces in between. $0parse an optional plus or minus sign, returning 0 or 1%Qparse plain non-negative decimal numbers given by a non-empty sequence of digits & parse 0 or 1'parse a binary number(^parse non-negative hexadecimal, octal or decimal numbers nat :: Integral i => ParsecT s u m i)parse a (P syntactically starting with a zero zeroNumber :: Integral i => ParsecT s u m i*hexadecimal or octal number+:parse a hexadecimal number preceded by an x or X character,parse a hexadecimal number-5parse an octal number preceded by an o or O character.Dparse a non-negative number given a base and a parser for the digits/6compute the value from a string of digits using a base0  !"#$%&'()*+,-./0  !"#$%&'()*+,-./0  !"#$%&'()*+,-./0  !"#$%&'()*+,-./2      !"#$%&'()*+,-./012342567-parsec-numeric-0.1.0.0-BD1KKMXPjRFCPRP64mMms1%Text.ParserCombinators.Parsec.Numericfloating floating2 floating3 decimalFloatdecFloathexFloatbinFloatnatFloat zeroNumFloat fractExponent hexFractExp binFractExpfractExp genFractExpgenFractAndExpexponentFactorhexExponentFactorextExponentFactor exponentValue fractional fractional2 fractional3decFracthexFractbinFract decimalFractnatFract zeroNumFract fractFract genFractFractfraction hexFraction binFraction baseFraction fractionValueintsigndecimalbinDigitbinarynat zeroNumberhexOrOct hexadecimalhexnumoctalnumber numberValuebaseGHC.NumnegateGHC.Baseid