[GHC] #15646: ghci takes super long time to find the type of large fractional number

GHC ghc-devs at haskell.org
Sun Sep 23 13:58:47 UTC 2018


#15646: ghci takes super long time to find the type of large fractional number
-------------------------------------+-------------------------------------
        Reporter:  Johannkokos       |                Owner:
                                     |  JulianLeviston
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  GHCi              |              Version:  8.4.3
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 That sounds good to me.

 Just to make sure, the proposed solution will still blow up when
 desugaring, so currently we aim to fix the type checking, right? Or am I
 missing something about the proposed solution?

 One problem with removing `fl_value` may be that any users of this type
 (maybe source plugins?) will have to provide a string instead of an actual
 float (we currently allow users to only give a value and omit `fl_text` by
 passing a `NoSourceText`). I don't know if there are any users (can it be
 used by source plugins?) of this type but maybe it's worth checking.

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


More information about the ghc-tickets mailing list