1. 14 Oct, 2008 1 commit
  2. 13 Oct, 2008 2 commits
  3. 10 Oct, 2008 1 commit
  4. 08 Oct, 2008 1 commit
  5. 07 Oct, 2008 2 commits
  6. 06 Oct, 2008 2 commits
  7. 03 Oct, 2008 1 commit
  8. 01 Oct, 2008 1 commit
  9. 03 Oct, 2008 2 commits
  10. 02 Oct, 2008 2 commits
    • Thomas Schilling's avatar
      Let parseModule take a ModSummary like checkAndLoadModule did. · 766b34f8
      Thomas Schilling authored
      To get the ModSummary for a ModuleName getModSummary can be used.
      It's not called find* or lookup* because it assumes that the module is
      in the module graph and throws an exception if it cannot be found.
      Overall, I'm not quite sure about the usefulness of this function
      since the user has no control about which filetype to grab (hs or
      hs-boot).
      766b34f8
    • rl@cse.unsw.edu.au's avatar
      Prevent excessive inlining with DPH · 444c6250
      rl@cse.unsw.edu.au authored
      This adds a new flag -finline-if-enough-args which disables inlining for
      partially applied functions. It is automatically set by -Odph. This is a
      temporary hack and should remain undocumented.
      
      MERGE TO 6.10
      444c6250
  11. 27 Sep, 2008 1 commit
  12. 16 Sep, 2008 1 commit
  13. 25 Sep, 2008 1 commit
  14. 21 Sep, 2008 1 commit
  15. 23 Sep, 2008 1 commit
  16. 22 Sep, 2008 1 commit
  17. 20 Sep, 2008 1 commit
  18. 18 Sep, 2008 3 commits
    • pepe's avatar
      Fix a couple of issues with :print · decbb181
      pepe authored
            
            - Ticket #1995: Unsoundness with newtypes
            - Ticket #2475: "Can't unify" error when stopped at an exception
            
            In addition this patch adds the following:
            
            - Unfailingness: RTTI cannot panic anymore. 
              In case of failure, it recovers gracefully by returning the "I know nothing" type
            - A -ddump-rtti flag
      decbb181
    • Jedai's avatar
      RichTokenStream support · 36104d7a
      Jedai authored
      This patch adds support for raw token streams, that contain more
      information than normal token streams (they contains comments at
      least). The "lexTokenStream" function brings this support to the
      Lexer module. In addition to that, functions have been added to
      the GHC module to make easier to recover of the token stream of 
      a module ("getTokenStream").
      
      Building on that, I added what could be called "rich token
      stream": token stream to which have been added the source string
      corresponding to each token, the function addSourceToToken takes
      a StringBuffer and a starting SrcLoc and a token stream and build
      this rich token stream. getRichTokenStream is a convenience
      function to get a module rich token stream. "showRichTokenStream"
      use the SrcLoc information in such a token stream to get a string
      similar to the original source (except unsignificant
      whitespaces). Thus "putStrLn . showRichTokenStream =<<
      getRichTokenStream s mod" should print a valid module source, the
      interesting part being to modify the token stream between the get
      and the show of course.
      36104d7a
    • Ian Lynagh's avatar
  19. 17 Sep, 2008 3 commits
  20. 16 Sep, 2008 3 commits
  21. 12 Sep, 2008 1 commit
  22. 10 Sep, 2008 1 commit
  23. 15 Sep, 2008 1 commit
  24. 14 Sep, 2008 6 commits