[GHC] #15424: There should be a flag for GHCi that tells it to load as many modules as possible

GHC ghc-devs at haskell.org
Fri Jul 20 11:50:27 UTC 2018


#15424: There should be a flag for GHCi that tells it to load as many modules as
possible
-------------------------------------+-------------------------------------
           Reporter:  mrkkrp         |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Compiler       |           Version:  8.4.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Right now if GHCi runs into a module that contains an error, it stop
 loading altogether, AFAIU. It'd be good if it attempted to load as many
 modules as possible instead. For example, if I have modules A, B, and C
 and C contains an error, then as long as A and B do not depend on C, I
 should end up with them in scope no matter in which order I specify the
 modules in load script (the `--ghci-script` thing).

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


More information about the ghc-tickets mailing list