[Git][ghc/ghc][master] Expose constructors of SNat, SChar and SSymbol in ghc-internal

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Sat May 4 00:46:13 UTC 2024



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


Commits:
649c24b9 by Oleg Grenrus at 2024-05-03T20:45:42-04:00
Expose constructors of SNat, SChar and SSymbol in ghc-internal

- - - - -


2 changed files:

- libraries/ghc-internal/src/GHC/Internal/TypeLits.hs
- libraries/ghc-internal/src/GHC/Internal/TypeNats.hs


Changes:

=====================================
libraries/ghc-internal/src/GHC/Internal/TypeLits.hs
=====================================
@@ -49,7 +49,7 @@ module GHC.Internal.TypeLits
   , OrderingI(..)
   , N.cmpNat, cmpSymbol, cmpChar
     -- ** Singleton values
-  , N.SNat, SSymbol, SChar
+  , N.SNat (..), SSymbol (..), SChar (..)
   , pattern N.SNat, pattern SSymbol, pattern SChar
   , fromSNat, fromSSymbol, fromSChar
   , withSomeSNat, withSomeSSymbol, withSomeSChar


=====================================
libraries/ghc-internal/src/GHC/Internal/TypeNats.hs
=====================================
@@ -36,7 +36,7 @@ module GHC.Internal.TypeNats
   , sameNat
   , decideNat
     -- ** Singleton values
-  , SNat
+  , SNat (..)
   , pattern SNat
   , fromSNat
   , withSomeSNat



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/649c24b96c688f64ebbccea5837380a283f4b09a

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/649c24b96c688f64ebbccea5837380a283f4b09a
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/20240503/ca431c16/attachment-0001.html>


More information about the ghc-commits mailing list