[Git][ghc/ghc][master] 2 commits: Warn that GHC.TypeLits.Internal should not be used

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Jun 14 11:06:09 UTC 2023



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


Commits:
e70c1245 by Tom Ellis at 2023-06-14T07:05:48-04:00
Warn that GHC.TypeLits.Internal should not be used

- - - - -
100650e3 by Tom Ellis at 2023-06-14T07:05:48-04:00
Warn that GHC.TypeNats.Internal should not be used

- - - - -


2 changed files:

- libraries/base/GHC/TypeLits/Internal.hs
- libraries/base/GHC/TypeNats/Internal.hs


Changes:

=====================================
libraries/base/GHC/TypeLits/Internal.hs
=====================================
@@ -5,9 +5,14 @@
 {-# OPTIONS_HADDOCK not-home #-}
 
 {-|
-This module exports the Type Literal kinds as well as the comparison type
-families for those kinds.  It is needed to prevent module cycles while still
-allowing these identifiers to be imported in 'Data.Type.Ord'.
+DO NOT USE THIS MODULE.  Use "GHC.TypeLits" instead.
+
+This module is internal-only and was exposed by accident.  It may be
+removed without warning in a future version.
+
+(The technical reason for this module's existence is that it is needed
+to prevent module cycles while still allowing these identifiers to be
+imported in 'Data.Type.Ord'.)
 
 @since 4.16.0.0
 -}


=====================================
libraries/base/GHC/TypeNats/Internal.hs
=====================================
@@ -5,9 +5,14 @@
 {-# OPTIONS_HADDOCK not-home #-}
 
 {-|
-This module exports the Type Nat kind as well as the comparison type
-family for that kinds.  It is needed to prevent module cycles while still
-allowing these identifiers to be imported in 'Data.Type.Ord'.
+DO NOT USE THIS MODULE.  Use "GHC.TypeNats" instead.
+
+This module is internal-only and was exposed by accident.  It may be
+removed without warning in a future version.
+
+(The technical reason for this module's existence is that it is needed
+to prevent module cycles while still allowing these identifiers to be
+imported in 'Data.Type.Ord'.)
 
 @since 4.16.0.0
 -}



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/a0c27cee239462bb9346c8fdbe7f6fd1e6f265a5...100650e35d6d17965e293160785360933c9e0a25

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/a0c27cee239462bb9346c8fdbe7f6fd1e6f265a5...100650e35d6d17965e293160785360933c9e0a25
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/20230614/550a8844/attachment-0001.html>


More information about the ghc-commits mailing list