diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-02-11 09:49:20 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-06-17 16:22:03 -0400 |
commit | 0f67e3447e5a0089b5348940d404ed876fddddfc (patch) | |
tree | 5a06a3af7f107786c4118267a94d136c770448cf /libraries/base/GHC/Stack | |
parent | 96aa57878fd6e6a7b92e841a0df8b5255a559c97 (diff) | |
download | haskell-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/GHC/Stack')
-rw-r--r-- | libraries/base/GHC/Stack/Types.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/base/GHC/Stack/Types.hs b/libraries/base/GHC/Stack/Types.hs index 1eee18b8f3..265b3c75b8 100644 --- a/libraries/base/GHC/Stack/Types.hs +++ b/libraries/base/GHC/Stack/Types.hs @@ -51,9 +51,8 @@ import GHC.Classes (Eq) import GHC.Types (Char, Int) -- Make implicit dependency known to build system -import GHC.Tuple () -- See Note [Depend on GHC.Tuple] in GHC.Base -import GHC.Integer () -- See Note [Depend on GHC.Integer] in GHC.Base -import GHC.Natural () -- See Note [Depend on GHC.Natural] in GHC.Base +import GHC.Tuple () -- See Note [Depend on GHC.Tuple] in GHC.Base +import GHC.Num.Integer () -- See Note [Depend on GHC.Num.Integer] in GHC.Base ---------------------------------------------------------------------- -- Explicit call-stacks built via ImplicitParams |