[GHC] #8174: GHC should not load packages for TH if they are not used

GHC ghc-devs at haskell.org
Sat Aug 31 13:34:12 UTC 2013


#8174: GHC should not load packages for TH if they are not used
-------------------------------------------------+-------------------------
        Reporter:  nh2                           |            Owner:
            Type:  bug                           |           Status:  new
        Priority:  normal                        |        Milestone:  7.8.1
       Component:  Compiler                      |          Version:  7.6.3
      Resolution:                                |         Keywords:
Operating System:  Unknown/Multiple              |     Architecture:
 Type of failure:  Compile-time performance bug  |  Unknown/Multiple
       Test Case:                                |       Difficulty:
        Blocking:                                |  Unknown
                                                 |       Blocked By:
                                                 |  Related Tickets:
-------------------------------------------------+-------------------------

Comment (by nh2):

 Replying to [comment:3 ezyang]:
 > In some sense, GHCi is already loading the packages semi-lazily; GHC
 won't resolve any objects until you actually attempt to use an object.

 What does "resolving objects" mean? Could you elaborate a bit?

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




More information about the ghc-tickets mailing list