cvs commit: fptools/ghc/compiler/ghci InteractiveUI.hs fptools/ghc/compiler/main DriverMkDepend.hs DriverPipeline.hs GHC.hs HscTypes.lhs fptools/ghc/compiler/utils Digraph.lhs

Simon Marlow simonmar at haskell.org
Wed Mar 30 11:24:06 EST 2005


simonmar    2005/03/30 08:24:06 PST

  Modified files:
    ghc/compiler/ghci    InteractiveUI.hs 
    ghc/compiler/main    DriverMkDepend.hs DriverPipeline.hs 
                         GHC.hs HscTypes.lhs 
    ghc/compiler/utils   Digraph.lhs 
  Log:
  Add support for partial reloads in the GHC API.
  
  This is mainly for VS: when editing a file you don't want to
  continually reload the entire project whenever the current file
  changes, you want to reload up to and including the current file only.
  However, you also want to retain any other modules in the session that
  are still stable.
  
  I added a variant of :reload in GHCi to test this.  You can say
  ':reload M' to reload up to module M only.  This will bring M up to
  date, and throw away any invalidated modules from the session.
  
  Revision  Changes    Path
  1.197     +8 -3      fptools/ghc/compiler/ghci/InteractiveUI.hs
  1.46      +1 -1      fptools/ghc/compiler/main/DriverMkDepend.hs
  1.194     +3 -1      fptools/ghc/compiler/main/DriverPipeline.hs
  1.4       +132 -42   fptools/ghc/compiler/main/GHC.hs
  1.129     +1 -1      fptools/ghc/compiler/main/HscTypes.lhs
  1.20      +12 -4     fptools/ghc/compiler/utils/Digraph.lhs


More information about the Cvs-ghc mailing list