[GHC] #12665: Make Read instances faster, and make them fail fast

GHC ghc-devs at haskell.org
Mon Oct 10 12:46:28 UTC 2016


#12665: Make Read instances faster, and make them fail fast
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  dfeuer
            Type:  feature request   |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  Core Libraries    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Replying to [comment:15 YitzGale]:
 > Does this still guarantee
 > {{{
 > read "xxxx" == xxxx
 > }}}
 > for every {{{Fractional}}} literal {{{xxxx}}} that parses, for all
 built-in instances of `Fractional`? I believe we have that guarantee now.

 Thanks to the type-directed nature of `Read`, it shouldn't affect them one
 bit. And if it does, we can certainly fix that.

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


More information about the ghc-tickets mailing list