1. 31 Aug, 2014 1 commit
  2. 27 May, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Replace DeriveDataTypeable by AutoDeriveTypeable · 6ed54303
      Herbert Valerio Riedel authored
      This is a first step towards addressing #9111
      
      
      
      This results in the following additional Typeable (exported) instances
      being generated (list was compiled by diff'ing hoogle txt output):
      
        instance Typeable CFile
        instance Typeable 'CFile
        instance Typeable CFpos
        instance Typeable 'CFpos
        instance Typeable CJmpBuf
        instance Typeable 'CJmpBuf
        instance Typeable ChItem
        instance Typeable QSem
        instance Typeable ID
        instance Typeable 'ID
        instance Typeable CONST
        instance Typeable Qi
        instance Typeable Qr
        instance Typeable Mp
        instance Typeable ConstrRep
        instance Typeable Fixity
        instance Typeable 'Prefix
        instance Typeable 'Infix
        instance Typeable Constr
        instance Typeable DataType
        instance Typeable DataRep
        instance Typeable Data
        instance Typeable HasResolution
        instance Typeable IsList
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      6ed54303
  3. 13 Mar, 2014 1 commit
  4. 22 Sep, 2013 1 commit
  5. 18 Sep, 2013 1 commit
  6. 31 Jul, 2013 1 commit
  7. 06 Jun, 2013 1 commit
    • Simon Peyton Jones's avatar
      Re-jig SOURCE imports · 8d87b5bf
      Simon Peyton Jones authored
      * Do not have have an hs-boot file for Data.Typeable
      * Instead make all the loops go through
           GHC.Err (just a couple of magic functions)
           GHC.Exception (some non-exceptional functions)
      
      The main idea is
        a) don't involve classes in the hs-boot world
        b) loop through error cases where performance doesn't matter
        c) be careful not to SOURCE import things that are bottom,
           unless MkCore knows about them in eRROR_IDS, so that we
           see their strictness
      8d87b5bf
  8. 13 Feb, 2013 1 commit
  9. 25 Oct, 2012 1 commit
  10. 23 Sep, 2012 1 commit
  11. 21 May, 2012 1 commit
  12. 16 Feb, 2012 1 commit
  13. 14 Feb, 2012 2 commits
  14. 14 Jan, 2012 1 commit
  15. 08 Nov, 2011 1 commit
    • tibbe's avatar
      Add unsafeShift to Data.Bits · f1c593e0
      tibbe authored
      This allows shifting by a non-statically known amount without
      introducing a branch (to check for "overflow").
      f1c593e0
  16. 26 Oct, 2011 1 commit
  17. 27 Aug, 2011 2 commits
  18. 25 Aug, 2011 1 commit
  19. 24 Aug, 2011 1 commit
  20. 28 Jul, 2011 1 commit
  21. 23 Jul, 2011 1 commit
  22. 26 Jun, 2011 1 commit
  23. 18 Jun, 2011 1 commit
  24. 03 May, 2011 1 commit
  25. 02 May, 2011 1 commit
  26. 30 Apr, 2011 2 commits
  27. 29 Apr, 2011 1 commit
  28. 28 Jan, 2011 1 commit
  29. 12 Nov, 2010 1 commit
  30. 20 Oct, 2010 1 commit
    • 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
  31. 29 Oct, 2009 1 commit
  32. 24 Apr, 2009 2 commits
  33. 03 Apr, 2009 1 commit
    • simonpj@microsoft.com's avatar
      Import GHC.Err so we see bottoming functions properly · e3abe558
      simonpj@microsoft.com authored
      Before this patch, GHC/Err.lhs-boot exported divZeroError and overflowError,
      as well as plain 'error'.  The latter has a wired-in defn in GHC (MkId.lhs),
      but the former two do not.  As a result GHC doesn't see that overflowError
      is a bottoming function at a crucial moment when compiling GHC.Real, and
      that means that divMod wasn't getting the CPR property.
      
      The fix is easy:
        - GHC/Err.lhs-boot should export only 'error'
      
        - GHC.Real, GHC.Int, and GHC.Word should import GHC.Err
          directly.  They can do this nowadays without creating
          a module loop, thanks to the new exception story
      e3abe558
  34. 05 Aug, 2008 1 commit
  35. 30 Jul, 2008 1 commit
    • Simon Marlow's avatar
      FIX #2376: inline shiftR · f3b135c7
      Simon Marlow authored
      Duplicating the default definition for shiftR doesn't seem quite right
      to me, but it gets the right results when compiling the example
      program, and I couldn't find a better way to do it.
      f3b135c7
  36. 16 Jun, 2008 1 commit