1. 13 Nov, 2007 1 commit
  2. 13 Oct, 2007 1 commit
  3. 06 Oct, 2007 1 commit
  4. 28 Sep, 2007 1 commit
  5. 07 Nov, 2007 5 commits
    • Simon Marlow's avatar
      FIX BUILD · 427f3443
      Simon Marlow authored
      Sorry, should have pushed with previous batch of changes.
      427f3443
    • Simon Marlow's avatar
      e82fcf24
    • Simon Marlow's avatar
      FIX #1765, #1766 · da4dda13
      Simon Marlow authored
      - :def! now overwrites a previous command with the same name
      - :def on its own lists the defined macros
      - ":undef f g" undefines both f and g
      da4dda13
    • Simon Marlow's avatar
      #1617: Add :browse! and various other additions to GHCi · 806ab633
      Simon Marlow authored
         
        - :browse!
          a variant of :browse that lists children separately,
          not in context, and gives import qualifiers in comments
      
      SimonM: I also added sorting by source location for interpreted
      modules in :browse, and alphabetic sorting by name otherwise.  For
      :browse *M, the locally-defined names come before the external ones.
      
        - :{ ..lines.. :} (multiline commands)
          allow existing commands to be spread over multiple lines
          to improve readability, both interactively and in .ghci
          (includes a refactoring that unifies the previous three
          command loops into one, runCommands, fed from cmdqueue,
          file, or readline)
      
        - :set
            now shows GHCi-specific flag settings (printing/
            debugger), as well as non-language dynamic flag 
            settings
          :show languages
            show active language flags
          :show packages
            show active package flags as well as implicitly 
            loaded packages
      806ab633
    • Simon Marlow's avatar
  6. 02 Nov, 2007 1 commit
  7. 19 Oct, 2007 1 commit
  8. 18 Oct, 2007 1 commit
  9. 17 Oct, 2007 1 commit
  10. 10 Oct, 2007 2 commits
  11. 03 Oct, 2007 2 commits
  12. 27 Sep, 2007 2 commits
    • mnislaih's avatar
      Finally, I managed to squash an infamous bug in :print · a07a4634
      mnislaih authored
        
        It turns out the newtype handling code in :print
        was slipping non mutable Tyvars in the types reconstructed.
        The error message eventually produced was rather obscure:
        
        [src/Tp.hs:75:28-64] *MainTp> :p x
        *** Exception: No match in record selector Var.tcTyVarDetails
        [src/Tp.hs:75:28-64] *MainTp>
        
        Due to non mutable tyvars, unifyType was failing.
        A well placed assertion in the unifyType code would have made
         my life much easier.
        Which reminds me I should install a -ddump-* system in the 
        RTTI subsystem, or future hackers will run away in swearing.
      
      
      MERGE TO STABLE
      a07a4634
    • mnislaih's avatar
      Be a bit more flexible in terminal identification for do_bold · 9efeaae7
      mnislaih authored
        
        In Os X for instance, by default we have TERM=xterm-color 
      
      MERGE TO STABLE
      9efeaae7
  13. 26 Sep, 2007 1 commit
  14. 24 Sep, 2007 1 commit
  15. 18 Sep, 2007 1 commit
  16. 11 Sep, 2007 1 commit
    • simonpj@microsoft.com's avatar
      Define and use PprTyThing.pprTypeForUser · 046feb1e
      simonpj@microsoft.com authored
      When printing types for the user, the interactive UI often wants to
      leave foralls implicit.  But then (as Claus points out) we need to be
      careful about name capture. For example with this source program
      
      	class C a b where
      	  op :: forall a. a -> b
      
      we were erroneously displaying the class in GHCi (with suppressed
      foralls) thus:
      
      	class C a b where
      	  op :: a -> b
      
      which is utterly wrong. 
      
      This patch fixes the problem, removes GHC.dropForAlls (which is dangerous),
      and instead supplies PprTyThing.pprTypeForUser, which does the right thing.
      
      046feb1e
  17. 12 Sep, 2007 2 commits
  18. 11 Sep, 2007 4 commits
  19. 10 Sep, 2007 2 commits
    • mnislaih's avatar
      Nicer GHCi debugger underlining · b59ce959
      mnislaih authored
      Improved the underlining of blocks.
      With this patch it does:
      
      Stopped at break020.hs:(6,20)-(7,29)
      _result :: t1 () = _
      5  
                           vv
      6  in_another_decl _ = do line1 0
      7                         line2 0
                                       ^^
      8  
      
      Instead of
      
      Stopped at break020.hs:(6,20)-(7,29)
      _result :: t1 () = _
      5  
      6  in_another_decl _ = do line1 0
                             ^^
      7                         line2 0
                                       ^^
      8  
      
      b59ce959
    • mnislaih's avatar
      FIX #1669 (GHCi debugger underlining is in the wrong place) · 5ac833ec
      mnislaih authored
      We weren't taking into account the offset added by the line numbers:
      
      Stopped at break020.hs:10:2-8
      _result :: IO () = _
      9  main = do
      10    line1 0
           ^^^^^^^
      11    line2 0
      
      
      This patch adjusts that 
      5ac833ec
  20. 08 Sep, 2007 1 commit
  21. 07 Sep, 2007 1 commit
  22. 06 Sep, 2007 3 commits
  23. 04 Sep, 2007 2 commits
  24. 03 Sep, 2007 1 commit
  25. 01 Sep, 2007 1 commit