X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc%2Fcompiler%2Ftypecheck%2FTcMatches.hi;fp=ghc%2Fcompiler%2Ftypecheck%2FTcMatches.hi;h=d286122a1e7f051581e7bdcab869f745fa7acdd3;hp=0000000000000000000000000000000000000000;hb=e7d21ee4f8ac907665a7e170c71d59e13a01da09;hpb=e48474bff05e6cfb506660420f025f694c870d38 diff --git a/ghc/compiler/typecheck/TcMatches.hi b/ghc/compiler/typecheck/TcMatches.hi new file mode 100644 index 0000000..d286122 --- /dev/null +++ b/ghc/compiler/typecheck/TcMatches.hi @@ -0,0 +1,23 @@ +{-# GHC_PRAGMA INTERFACE VERSION 5 #-} +interface TcMatches where +import Bag(Bag) +import CmdLineOpts(GlobalSwitch) +import E(E) +import HsMatches(Match) +import HsPat(InPat, TypecheckedPat) +import Id(Id) +import LIE(LIE) +import Name(Name) +import Pretty(PprStyle, PrettyRep) +import SplitUniq(SplitUniqSupply) +import SrcLoc(SrcLoc) +import Subst(Subst) +import TcMonad(TcResult) +import UniType(UniType) +tcMatch :: E -> Match Name (InPat Name) -> (GlobalSwitch -> Bool) -> [UniType] -> Subst -> SplitUniqSupply -> Bag (PprStyle -> Int -> Bool -> PrettyRep) -> SrcLoc -> TcResult (Match Id TypecheckedPat, LIE, UniType) + {-# GHC_PRAGMA _A_ 2 _U_ 21222222 _N_ _S_ "LS" _N_ _N_ #-} +tcMatchesCase :: E -> [Match Name (InPat Name)] -> (GlobalSwitch -> Bool) -> [UniType] -> Subst -> SplitUniqSupply -> Bag (PprStyle -> Int -> Bool -> PrettyRep) -> SrcLoc -> TcResult ([Match Id TypecheckedPat], LIE, UniType) + {-# GHC_PRAGMA _A_ 2 _U_ 22222122 _N_ _S_ "LS" _N_ _N_ #-} +tcMatchesFun :: E -> Name -> UniType -> [Match Name (InPat Name)] -> (GlobalSwitch -> Bool) -> [UniType] -> Subst -> SplitUniqSupply -> Bag (PprStyle -> Int -> Bool -> PrettyRep) -> SrcLoc -> TcResult ([Match Id TypecheckedPat], LIE) + {-# GHC_PRAGMA _A_ 4 _U_ 2222222222 _N_ _S_ "LLLS" _N_ _N_ #-} +