summaryrefslogtreecommitdiff
path: root/libraries/base/Numeric
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-02-11 09:49:20 +0100
committerBen Gamari <ben@smart-cactus.org>2020-06-17 16:22:03 -0400
commit0f67e3447e5a0089b5348940d404ed876fddddfc (patch)
tree5a06a3af7f107786c4118267a94d136c770448cf /libraries/base/Numeric
parent96aa57878fd6e6a7b92e841a0df8b5255a559c97 (diff)
downloadhaskell-0f67e3447e5a0089b5348940d404ed876fddddfc.tar.gz
Update `base` package
* GHC.Natural isn't implemented in `base` anymore. It is provided by ghc-bignum in GHC.Num.Natural. It means that we can safely use Natural primitives in `base` without fearing issues with built-in rewrite rules (cf #15286) * `base` doesn't conditionally depend on an integer-* package anymore, it depends on ghc-bignum * Some duplicated code in integer-* can now be factored in GHC.Float * ghc-bignum tries to use a uniform naming convention so most of the other changes are renaming
Diffstat (limited to 'libraries/base/Numeric')
-rw-r--r--libraries/base/Numeric/Natural.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Numeric/Natural.hs b/libraries/base/Numeric/Natural.hs
index 78fa147a66..bf2f27b897 100644
--- a/libraries/base/Numeric/Natural.hs
+++ b/libraries/base/Numeric/Natural.hs
@@ -21,4 +21,4 @@ module Numeric.Natural
( Natural
) where
-import GHC.Natural
+import GHC.Num.Natural