[Git][ghc/ghc][wip/T21623] Delete TypeOrConstraint from ghc-prim:GHC.Types

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Mon Aug 15 10:08:09 UTC 2022



Simon Peyton Jones pushed to branch wip/T21623 at Glasgow Haskell Compiler / GHC


Commits:
64ccaf1d by Simon Peyton Jones at 2022-08-15T11:08:23+01:00
Delete TypeOrConstraint from ghc-prim:GHC.Types

- - - - -


1 changed file:

- libraries/ghc-prim/GHC/Types.hs


Changes:

=====================================
libraries/ghc-prim/GHC/Types.hs
=====================================
@@ -40,7 +40,7 @@ module GHC.Types (
         type (~), type (~~), Coercible,
 
         -- * Representation polymorphism
-        TYPE, CONSTRAINT, TypeOrConstraint,
+        TYPE, CONSTRAINT,
         Levity(..), RuntimeRep(..),
         LiftedRep, UnliftedRep,
         Type, UnliftedType, Constraint,
@@ -119,9 +119,6 @@ type UnliftedType = TYPE UnliftedRep
 -- | The kind of the empty unboxed tuple type (# #)
 type ZeroBitType = TYPE ZeroBitRep
 
--------------------------
-data TypeOrConstraint = TypeLike | ConstraintLike
-
 -------------------------
 data Multiplicity = Many | One
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/64ccaf1d70ec630a2f36f2b576e66d6b8427c456

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/64ccaf1d70ec630a2f36f2b576e66d6b8427c456
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/20220815/a1d8d819/attachment-0001.html>


More information about the ghc-commits mailing list