From 3a8970ac0c69335a1d229f9c9a71e6e333e99bfb Mon Sep 17 00:00:00 2001 From: romes Date: Sat, 14 May 2022 12:12:19 +0200 Subject: TTG: Move HsModule to L.H.S Move the definition of HsModule defined in GHC.Hs to Language.Haskell.Syntax with an added TTG parameter and corresponding extension fields. This is progress towards having the haskell-syntax package, as described in #21592 --- compiler/Language/Haskell/Syntax/Extension.hs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'compiler/Language/Haskell/Syntax') diff --git a/compiler/Language/Haskell/Syntax/Extension.hs b/compiler/Language/Haskell/Syntax/Extension.hs index 47b693a9bd..f63ca09b30 100644 --- a/compiler/Language/Haskell/Syntax/Extension.hs +++ b/compiler/Language/Haskell/Syntax/Extension.hs @@ -396,6 +396,12 @@ type family XXRoleAnnotDecl x type family XCInjectivityAnn x type family XXInjectivityAnn x +-- ===================================================================== +-- Type families for the HsModule extension points + +type family XModule x +type family XXModule x + -- ===================================================================== -- Type families for the HsExpr extension points -- cgit v1.2.1