Bodigrim pushed to branch wip/no-minimal-for-bitsize at Glasgow Haskell Compiler / GHC

Commits:

5 changed files:

Changes:

  • libraries/base/changelog.md
    ... ... @@ -7,6 +7,7 @@
    7 7
       * Add `Data.List.NonEmpty.{zip{3..7},zipWith{3..7},unzip{3..7}}` ([CLC proposal #409)(https://github.com/haskell/core-libraries-committee/issues/409))
    
    8 8
       * Ensure that `Data.List.elem` and `notElem` can be specialized even when no list fusion happens. ([CLC proposal #412)(https://github.com/haskell/core-libraries-committee/issues/412))
    
    9 9
       * Introduce `Data.Double` and `Data.Float` modules. ([CLC proposal #378](https://github.com/haskell/core-libraries-committee/issues/378))
    
    10
    +  * Remove `bitSize` from `MINIMAL` pragma of `class Bits`. ([CLC proposal #440](https://github.com/haskell/core-libraries-committee/issues/440))
    
    10 11
       * Change `Generically a`'s `Monoid` definition to require a `Semigroup` constraint, and define its `mconcat` using `(<>)` from that constraint. ([CLC proposal #413](https://github.com/haskell/core-libraries-committee/issues/413))
    
    11 12
       * Add `withEmptyCallStack` to `GHC.Stack`. ([CLC proposal #428](https://github.com/haskell/core-libraries-committee/issues/428))
    
    12 13
       * Add new `Data.RealFloat` module re-exporting `RealFloat` from `GHC.Float` ([CLC proposal #394](https://github.com/haskell/core-libraries-committee/issues/394))
    

  • libraries/ghc-internal/src/GHC/Internal/Bits.hs
    ... ... @@ -90,7 +90,7 @@ class Eq a => Bits a where
    90 90
         {-# MINIMAL (.&.), (.|.), xor, complement,
    
    91 91
                     (shift | (shiftL, shiftR)),
    
    92 92
                     (rotate | (rotateL, rotateR)),
    
    93
    -                bitSize, bitSizeMaybe, isSigned, testBit, bit, popCount #-}
    
    93
    +                bitSizeMaybe, isSigned, testBit, bit, popCount #-}
    
    94 94
     
    
    95 95
         -- | Bitwise \"and\"
    
    96 96
         (.&.) :: a -> a -> a
    

  • testsuite/tests/interface-stability/base-exports.stdout
    No preview for this file type
  • testsuite/tests/interface-stability/base-exports.stdout-javascript-unknown-ghcjs
    No preview for this file type
  • testsuite/tests/interface-stability/base-exports.stdout-mingw32
    No preview for this file type