summaryrefslogtreecommitdiff
path: root/compiler/GHC/Hs/Expr.hs-boot
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Hs/Expr.hs-boot')
-rw-r--r--compiler/GHC/Hs/Expr.hs-boot13
1 files changed, 7 insertions, 6 deletions
diff --git a/compiler/GHC/Hs/Expr.hs-boot b/compiler/GHC/Hs/Expr.hs-boot
index 7ea4633760..0fdbf773b2 100644
--- a/compiler/GHC/Hs/Expr.hs-boot
+++ b/compiler/GHC/Hs/Expr.hs-boot
@@ -15,18 +15,19 @@ import Outputable ( SDoc, Outputable )
import {-# SOURCE #-} GHC.Hs.Pat ( LPat )
import BasicTypes ( SpliceExplicitFlag(..))
import GHC.Hs.Extension ( OutputableBndrId, GhcPass )
+import Data.Kind ( Type )
type role HsExpr nominal
type role HsCmd nominal
type role MatchGroup nominal nominal
type role GRHSs nominal nominal
type role HsSplice nominal
-data HsExpr (i :: *)
-data HsCmd (i :: *)
-data HsSplice (i :: *)
-data MatchGroup (a :: *) (body :: *)
-data GRHSs (a :: *) (body :: *)
-type family SyntaxExpr (i :: *)
+data HsExpr (i :: Type)
+data HsCmd (i :: Type)
+data HsSplice (i :: Type)
+data MatchGroup (a :: Type) (body :: Type)
+data GRHSs (a :: Type) (body :: Type)
+type family SyntaxExpr (i :: Type)
instance OutputableBndrId p => Outputable (HsExpr (GhcPass p))
instance OutputableBndrId p => Outputable (HsCmd (GhcPass p))