This project is mirrored from https://gitlab.haskell.org/ghc/ghc.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 20 Sep, 2014 3 commits
  2. 19 Sep, 2014 1 commit
  3. 09 Sep, 2014 1 commit
  4. 04 Sep, 2014 1 commit
  5. 31 Aug, 2014 2 commits
    • Herbert Valerio Riedel's avatar
      Add `FiniteBits(count{Leading,Trailing}Zeros)` · a8a969ae
      Herbert Valerio Riedel authored
      This exposes the newly added CLZ/CTZ primops from
      e0c1767d (re #9340)
      via two new methods `countLeadingZeros` and `countTrailingZeros`
      in the `Data.Bits.FiniteBits` class.
      
      The original proposal can be found at
      
        http://www.haskell.org/pipermail/libraries/2014-August/023567.html
      
      Test Plan: successful validate
      
      Reviewers: ekmett, tibbe
      
      GHC Trac Issues: #9532
      
      Differential Revision: https://phabricator.haskell.org/D158
      a8a969ae
    • Herbert Valerio Riedel's avatar
      Re-export Word from Prelude (re #9531) · 393b8202
      Herbert Valerio Riedel authored
      The original proposal text can be found at
      
        http://www.haskell.org/pipermail/libraries/2014-August/023491.html
      
      The proposal passed with a clear majority, and was additionally
      confirmed by the core libraries committee.
      
      *Compatibility Note*
      
      Only code that imports `Data.Word` for the sole purpose of using `Word`
      *and* requires to be `-Werror`-clean (due to `-fwarn-unused-imports`)
      is affected by this change.
      
      In order to write warning-free forward/backward compatible against `base`,
      a variant of the following CPP-based snippet can be used:
      
        -- Starting with base>4.7.0 or GHC>7.8 Prelude re-exports 'Word'
        -- The following is needed, if 'Word' is the *only* entity needed from Data.Word
        #ifdef MIN_VERSION_base
        # if !MIN_VERSION_base(4,7,1)
        import Data.Word (Word)
        # endif
        -- no cabal_macros.h -- fallback to __GLASGOW_HASKELL__
        #elif __GLASGOW_HASKELL__ < 709
        import Data.Word (Word)
        #endif
      
      This also updates the haddock submodule in order to avoid a compile warning
      393b8202
  6. 19 Aug, 2014 2 commits
    • bernalex's avatar
      Make Prelude.signum handle -0.0 correctly (#7858) · d9a20573
      bernalex authored
      
      
      Summary:
      Make the `Float` and `Double` implementations of `signum` handle -0.0
      correctly per IEEE-754.
      
      This, together with "Make Prelude.abs handle -0.0 correctly (#7858)",
      fixes Trac #7858.
      
      Depends on D145
      Signed-off-by: bernalex's avatarAlexander Berntsen <alexander@plaimi.net>
      
      Test Plan:
      signum of (-0.0) should be (-0.0) not 0.0.
      
      Test program:
      
        main =
          putStrLn $ p ++ " " ++ n
          where
            f = show . signum
            p = f (-0.0 :: Double)
          n = f (0.0 :: Double)
      
      Reviewers: ekmett, hvr, rwbarton, austin
      
      Reviewed By: austin
      
      Subscribers: phaskell, simonmar, relrod, ezyang, carter
      
      Differential Revision: https://phabricator.haskell.org/D148
      
      GHC Trac Issues: #7858
      d9a20573
    • bernalex's avatar
      Make Prelude.abs handle -0.0 correctly (#7858) · 6f6ee6ea
      bernalex authored
      
      
      Summary:
      Make the `Float` and `Double` implementations of `abs` handle -0.0
      correctly per IEEE-754.
      
      abs (-0.0::Float) and abs (-0.0::Double) previously returned -0.0, when
      they should return 0.0. This patch fixes this.
      Signed-off-by: bernalex's avatarAlexander Berntsen <alexander@plaimi.net>
      
      Test Plan: abs (-0.0::Double) should = 0.0 instead of (-0.0)
      
      Reviewers: ekmett, hvr, austin, rwbarton
      
      Reviewed By: austin, rwbarton
      
      Subscribers: phaskell, trofi, simonmar, relrod, ezyang, carter
      
      Differential Revision: https://phabricator.haskell.org/D145
      
      GHC Trac Issues: #7858
      6f6ee6ea
  7. 20 Jul, 2014 1 commit
  8. 11 Jul, 2014 1 commit
  9. 14 May, 2014 1 commit
  10. 21 Apr, 2014 1 commit
  11. 19 Apr, 2014 3 commits
  12. 01 Mar, 2014 1 commit
  13. 28 Feb, 2014 1 commit
  14. 25 Feb, 2014 1 commit
  15. 05 Feb, 2014 1 commit
  16. 29 Jan, 2014 3 commits