[Git][ghc/ghc][master] base: Deprecate some .Internal modules

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Jun 19 10:49:14 UTC 2024



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
842e119b by Rodrigo Mesquita at 2024-06-19T06:47:13-04: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/842e119b559931859556f42ed4b9a7c453a34cbe

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/842e119b559931859556f42ed4b9a7c453a34cbe
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/20240619/8bbfab46/attachment-0001.html>


More information about the ghc-commits mailing list