1. 26 Aug, 2009 1 commit
    • Simon Marlow's avatar
      Fix part of #3398: pretty-printing always goes via the I/O library encoding · 3ce0e499
      Simon Marlow authored
      That is, unless we're printing in LeftMode, where we bypass encoding
      for speed.  This is safe, because LeftMode is used for outputting C or
      asm, where everyting is Z-encoded and hence ASCII.
      
      Error messages and other compiler output containing Unicode will now
      appear correctly according to the locale settings.
      3ce0e499
  2. 25 Aug, 2009 1 commit
  3. 24 Aug, 2009 2 commits
  4. 20 Aug, 2009 1 commit
  5. 25 Aug, 2009 3 commits
  6. 24 Aug, 2009 3 commits
  7. 21 Aug, 2009 2 commits
  8. 24 Aug, 2009 1 commit
  9. 23 Aug, 2009 1 commit
  10. 22 Aug, 2009 1 commit
  11. 21 Aug, 2009 5 commits
  12. 20 Aug, 2009 1 commit
  13. 21 Aug, 2009 3 commits
    • simonpj@microsoft.com's avatar
      Another tiny tidy-up to RnPat · 8ec97816
      simonpj@microsoft.com authored
      8ec97816
    • simonpj@microsoft.com's avatar
      Fix Trac #3437: strictness of specialised functions · ef5376d5
      simonpj@microsoft.com authored
      'lilac' helpful pin-pointed a space leak that was due to a specialised
      function being insufficiently strict.  Here's the new comment in SpecConstr:
      
      Note [Transfer strictness]
      ~~~~~~~~~~~~~~~~~~~~~~~~~~
      We must transfer strictness information from the original function to
      the specialised one.  Suppose, for example
      
        f has strictness     SS
              and a RULE     f (a:as) b = f_spec a as b
      
      Now we want f_spec to have strictess  LLS, otherwise we'll use call-by-need
      when calling f_spec instead of call-by-value.  And that can result in 
      unbounded worsening in space (cf the classic foldl vs foldl')
      
      See Trac #3437 for a good example.
      
      The function calcSpecStrictness performs the calculation.
      
      ef5376d5
    • simonpj@microsoft.com's avatar
      Wibbles to field-label puns · f7df28a4
      simonpj@microsoft.com authored
      f7df28a4
  14. 20 Aug, 2009 15 commits