patch applied (ghc): Refactoring of Debugger.hs

Pepe Iborra <[email protected]> Sun, 21 Jan 2007 03:17:42 -0800
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <20070121111742.GA20124__38886.1104533591$1169378281$gmane$org@cvs.haskell.org>
Sun Jan 21 02:59:09 PST 2007  Pepe Iborra <[email protected]>
  * Refactoring of Debugger.hs
  
  A big motivation to start with it was getting several independently useful functions out of the Ghci monad and into the IO monad instead. Working in debugger integration for Emacs via the ghc-api is helping me to improve reusability..
        While I was there, I tried to make the code less tangled, easier to understand, switched from implicit Exceptions to explicit Eithers in the bkptTable code, etc.
  

    M ./compiler/ghci/Debugger.hs -148 +157
    M ./compiler/ghci/InteractiveUI.hs -1 +4