[Git][ghc/ghc][wip/T21461] base: Deprecate GHC.Pack
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Mon Apr 8 17:40:24 UTC 2024
Ben Gamari pushed to branch wip/T21461 at Glasgow Haskell Compiler / GHC
Commits:
edc76b48 by Ben Gamari at 2024-04-08T13:40:06-04:00
base: Deprecate GHC.Pack
As proposed in #21461.
Closes #21540.
- - - - -
2 changed files:
- libraries/base/changelog.md
- libraries/base/src/GHC/Pack.hs
Changes:
=====================================
libraries/base/changelog.md
=====================================
@@ -4,6 +4,7 @@
* Improve `toInteger :: Word32 -> Integer` on 64-bit platforms ([CLC proposal #259](https://github.com/haskell/core-libraries-committee/issues/259))
## 4.20.0.0 *TBA*
+ * Deprecate `GHC.Pack` ([#21461](https://gitlab.haskell.org/ghc/ghc/-/issues/21461))
* Export `foldl'` from `Prelude` ([CLC proposal #167](https://github.com/haskell/core-libraries-committee/issues/167))
* The top-level handler for uncaught exceptions now displays the output of `displayException` rather than `show` ([CLC proposal #198](https://github.com/haskell/core-libraries-committee/issues/198))
* Add `permutations` and `permutations1` to `Data.List.NonEmpty` ([CLC proposal #68](https://github.com/haskell/core-libraries-committee/issues/68))
=====================================
libraries/base/src/GHC/Pack.hs
=====================================
@@ -25,6 +25,7 @@
--
module GHC.Pack
+ {-# DEPRECATED "The exports of this module should be instead imported from GHC.Exts" #-}
(packCString#,
unpackCString,
unpackCString#,
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/edc76b48146b70eb372c38c43ca55538d5160953
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/edc76b48146b70eb372c38c43ca55538d5160953
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240408/5991e25f/attachment-0001.html>
More information about the ghc-commits
mailing list