diff options
Diffstat (limited to 'compiler/deSugar/Match.hs-boot')
-rw-r--r-- | compiler/deSugar/Match.hs-boot | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/compiler/deSugar/Match.hs-boot b/compiler/deSugar/Match.hs-boot index be5cd766ea..6d6cf989df 100644 --- a/compiler/deSugar/Match.hs-boot +++ b/compiler/deSugar/Match.hs-boot @@ -6,8 +6,7 @@ import TcType ( Type ) import DsMonad ( DsM, EquationInfo, MatchResult ) import CoreSyn ( CoreExpr ) import GHC.Hs ( LPat, HsMatchContext, MatchGroup, LHsExpr ) -import Name ( Name ) -import GHC.Hs.Extension ( GhcTc ) +import GHC.Hs.Extension ( GhcRn, GhcTc ) match :: [Id] -> Type @@ -15,14 +14,14 @@ match :: [Id] -> DsM MatchResult matchWrapper - :: HsMatchContext Name + :: HsMatchContext GhcRn -> Maybe (LHsExpr GhcTc) -> MatchGroup GhcTc (LHsExpr GhcTc) -> DsM ([Id], CoreExpr) matchSimply :: CoreExpr - -> HsMatchContext Name + -> HsMatchContext GhcRn -> LPat GhcTc -> CoreExpr -> CoreExpr @@ -30,7 +29,7 @@ matchSimply matchSinglePatVar :: Id - -> HsMatchContext Name + -> HsMatchContext GhcRn -> LPat GhcTc -> Type -> MatchResult |