1. 24 Nov, 2010 2 commits
  2. 08 Nov, 2010 1 commit
  3. 20 Nov, 2010 3 commits
  4. 17 Nov, 2010 3 commits
  5. 14 Oct, 2010 3 commits
  6. 16 Nov, 2010 1 commit
  7. 13 Nov, 2010 2 commits
  8. 12 Nov, 2010 1 commit
  9. 03 Nov, 2010 1 commit
  10. 31 Oct, 2010 4 commits
  11. 27 Oct, 2010 3 commits
  12. 16 Oct, 2010 1 commit
  13. 25 Oct, 2010 2 commits
    • simonpj@microsoft.com's avatar
      Add showMultiLineString to GHC.Show · 4041be61
      simonpj@microsoft.com authored
      This is part of the fix for #4436
      
        showMultiLineString :: String -> [String]
        -- | Like 'showLitString' (expand escape characters using Haskell
        -- escape conventions), but 
        --   * break the string into multiple lines
        --   * wrap the entire thing in double quotes
        -- Example:  @breakMultiLineString "hello\ngoodbye\nblah"@ 
        -- returns   @["\"hello\\", "\\goodbye\\", "\\blah\"" ]@
        -- where those "\\" are really just a single backslash
        -- (but I'm writing them here as Haskell literals)
      4041be61
    • Malcolm.Wallace@me.com's avatar
  14. 23 Oct, 2010 1 commit
  15. 22 Oct, 2010 1 commit
  16. 19 Oct, 2010 2 commits
    • Daniel Fischer's avatar
      FIX #4335 · 27310e0d
      Daniel Fischer authored
      fromRational :: Rational -> Ratio a produced invalid results for fixed-width
      types a. Reduce the fraction to avoid that.
      27310e0d
    • Daniel Fischer's avatar
      FIX #4337 · ca69c4ff
      Daniel Fischer authored
      Special versions for the power functions with a Rational base and rewrite rules.
      ca69c4ff
  17. 21 Oct, 2010 2 commits
  18. 26 Sep, 2010 2 commits
  19. 20 Oct, 2010 2 commits
    • Daniel Fischer's avatar
      FIX #4334 · c3c35334
      Daniel Fischer authored
      Make selector thunks visible to GHC to fix a space leak in lines.
      c3c35334
    • Daniel Fischer's avatar
      FIX #1434 · 2620fbe0
      Daniel Fischer authored
      Rewrite rules for RealFrac methods with sized Int and Word targets.
      For all types whose range is contained in Int's range, there are now
      rewrite rules for properFraction, truncate, floor, ceiling and round
      from Double and Float, going through the specialised methods for Int.
      
      Unfortunately, we can't have a rewrite rule for Word.
      2620fbe0
  20. 18 Oct, 2010 1 commit
    • simonpj@microsoft.com's avatar
      Define SpecConstrAnnotation in GHC.Exts, and import it from there · 686bce8f
      simonpj@microsoft.com authored
        
      Reason: avoid having to link the entire ghc package in modules
      that use compile-time annotations:
        
             import GHC.Exts( SpecConstrAnnotation )
             {-# ANN type T ForceSpecConstr #-}
        
      It's a kind of bug that the package exporting SpecConstrAnnotation
      is linked even though it is only needed at compile time, but putting
      the data type declaration in GHC.Exts is a simple way to sidestep
      the problem
        
      See See Note [SpecConstrAnnotation] in SpecConstr
      686bce8f
  21. 14 Oct, 2010 1 commit
  22. 13 Oct, 2010 1 commit