base 4.20.1.0 → 4.20.2.0
raw patch · 2 files changed
+13/−2 lines, 2 filesdep ~ghc-internalPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: ghc-internal
API changes (from Hackage documentation)
Files
- base.cabal +2/−2
- changelog.md +11/−0
base.cabal view
@@ -4,7 +4,7 @@ -- Make sure you are editing ghc-experimental.cabal.in, not ghc-experimental.cabal name: base-version: 4.20.1.0+version: 4.20.2.0 -- NOTE: Don't forget to update ./changelog.md license: BSD-3-Clause@@ -30,7 +30,7 @@ default-language: Haskell2010 default-extensions: NoImplicitPrelude build-depends:- ghc-internal == 9.1002.*,+ ghc-internal == 9.1003.*, ghc-prim, exposed-modules:
changelog.md view
@@ -1,5 +1,9 @@ # Changelog for [`base` package](http://hackage.haskell.org/package/base) +## 4.20.2 *July 2025*+ * Fix incorrect results of `integerPowMod` when the base is 0 and the exponent is negative, and `integerRecipMod` when the modulus is zero ([#26017](https://gitlab.haskell.org/ghc/ghc/-/issues/26017)).+ * Fix bug where `naturalAndNot` was incorrectly truncating results ([CLC proposal #350](github.com/haskell/core-libraries-committee/issues/350))+ ## 4.20.1 *Jan 2025* * Shipped with GHC 9.10.2 * `setNonBlockingMode` will no longer throw an exception when called on a FD associated with a unknown device type. ([CLC proposal #282](https://github.com/haskell/core-libraries-committee/issues/282))@@ -365,6 +369,13 @@ and ```\x y -> complement (x `xor` y)```, respectively. - `oneBits :: FiniteBits a => a`, `oneBits = complement zeroBits`.++ * Various folding operations in `GHC.List` are now implemented via strict+ folds:+ - `sum`+ - `product`+ - `maximum`+ - `minimum` ## 4.15.0.0 *Feb 2021*