[Git][ghc/ghc][wip/romes/24998] base: Deprecate some .Internal modules
Rodrigo Mesquita (@alt-romes)
gitlab at gitlab.haskell.org
Tue Jun 18 16:08:57 UTC 2024
Rodrigo Mesquita pushed to branch wip/romes/24998 at Glasgow Haskell Compiler / GHC
Commits:
2bb6bfc5 by Rodrigo Mesquita at 2024-06-18T17:08:44+01:00
base: Deprecate some .Internal modules
Deprecates the following modules according to clc-proposal #217:
https://github.com/haskell/core-libraries-committee/issues/217
* GHC.TypeNats.Internal
* GHC.TypeLits.Internal
* GHC.ExecutionStack.Internal
Closes #24998
- - - - -
3 changed files:
- libraries/base/src/GHC/ExecutionStack/Internal.hs
- libraries/base/src/GHC/TypeLits/Internal.hs
- libraries/base/src/GHC/TypeNats/Internal.hs
Changes:
=====================================
libraries/base/src/GHC/ExecutionStack/Internal.hs
=====================================
@@ -16,7 +16,7 @@
--
-- @since 4.9.0.0
-module GHC.ExecutionStack.Internal (
+module GHC.ExecutionStack.Internal {-# DEPRECATED "This module will be removed from base in the next version (v4.22)" #-} (
-- * Internal
Location (..)
, SrcLoc (..)
=====================================
libraries/base/src/GHC/TypeLits/Internal.hs
=====================================
@@ -26,7 +26,7 @@
--
-- @since 4.16.0.0
-module GHC.TypeLits.Internal
+module GHC.TypeLits.Internal {-# DEPRECATED "This module will be removed from base in the next version (v4.22)" #-}
(Symbol,
CmpSymbol,
CmpChar
=====================================
libraries/base/src/GHC/TypeNats/Internal.hs
=====================================
@@ -1,7 +1,7 @@
{-# LANGUAGE Safe #-}
{-# OPTIONS_HADDOCK not-home #-}
-module GHC.TypeNats.Internal
+module GHC.TypeNats.Internal {-# DEPRECATED "This module will be removed from base in the next version (v4.22)" #-}
(Natural,
CmpNat
) where
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2bb6bfc56a055e0a9575b06ff6480cbb5fe67119
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2bb6bfc56a055e0a9575b06ff6480cbb5fe67119
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/20240618/7fbb37eb/attachment-0001.html>
More information about the ghc-commits
mailing list