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

GHC ghc-devs at haskell.org
Mon Aug 26 13:06:29 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 hvr):

 fwiw, when I call `ghci -package vector`, it gets loaded eagerly too:

 {{{
 $ ghci -package vector
 GHCi, version 7.6.3: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Loading package array-0.4.0.1 ... linking ... done.
 Loading package deepseq-1.3.0.1 ... linking ... done.
 Loading package primitive-0.5.0.1 ... linking ... done.
 Loading package vector-0.10.0.1 ... linking ... done.
 Prelude>
 }}}

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




More information about the ghc-tickets mailing list