[GHC] #11170: (read ".9") :: Double unable to parse

GHC ghc-devs at haskell.org
Fri Jan 8 22:46:31 UTC 2016


#11170: (read ".9") :: Double unable to parse
-------------------------------------+-------------------------------------
        Reporter:  varosi            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  7.10.2
      Resolution:                    |             Keywords:  Read, report-
                                     |  impact
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by varosi):

 * status:  closed => new
 * resolution:  invalid =>


Comment:

 Here the problem is not in the GHC itself, but in Prelude with parsing of
 strings using Read type class:

 (read ".9") :: Double

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11170#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list