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

GHC ghc-devs at haskell.org
Tue Dec 25 18:22:24 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:  #5692             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 As discussed on IRC, try to get it compiling for now and then we can worry
 about where to put the functions.
 [https://github.com/JulianLeviston/ghc/pull/1/files#diff-
 199051a796530164d94214a54aadd294R1216 In this line] you specify
 `mkRational`s module as `GHC.Real` so that's where it should be. When you
 do that your `dsLookupGlobalId` call should work.

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


More information about the ghc-tickets mailing list