
#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 JulianLeviston): I duplicated the library code into both `GHC.Real` and left it in `BasicTypes.hs` as well as per osa1's suggestion on IRC. Got this error after running `./boot && ./configure && make -j4` {{{ libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:5:1: error: Bad interface file: libraries/ghc-prim/dist-install/build/GHC/Tuple.hi mismatched interface file versions (wanted "80720181230", got "80720181219") | 5 | import GHC.Tuple () | ^^^^^^^^^^^^^^^^^^^ make[1]: *** [libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15646#comment:78 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler