ghc-7.8.20140130: The GHC API

Safe HaskellNone
LanguageHaskell98

TcMatches

Documentation

data TcMatchCtxt bodySource

Constructors

MC 

Fields

mc_what :: HsMatchContext Name
 
mc_body :: Located (body Name) -> TcRhoType -> TcM (Located (body TcId))
 

type TcStmtChecker body = forall thing. HsStmtContext Name -> Stmt Name (Located (body Name)) -> TcRhoType -> (TcRhoType -> TcM thing) -> TcM (Stmt TcId (Located (body TcId)), thing)Source

tcStmtsAndThen :: Outputable (body Name) => HsStmtContext Name -> TcStmtChecker body -> [LStmt Name (Located (body Name))] -> TcRhoType -> (TcRhoType -> TcM thing) -> TcM ([LStmt TcId (Located (body TcId))], thing)Source