<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >TcMatches</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ><SCRIPT TYPE="text/javascript" >window.onload = function () {setSynopsis("mini_TcMatches.html")};</SCRIPT ></HEAD ><BODY ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="topbar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" " ></TD ><TD CLASS="title" >ghc-6.12.3: The GHC API</TD ><TD CLASS="topbut" ><A HREF="src/TcMatches.html" >Source code</A ></TD ><TD CLASS="topbut" ><A HREF="index.html" >Contents</A ></TD ><TD CLASS="topbut" ><A HREF="doc-index.html" >Index</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="modulebar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><FONT SIZE="6" >TcMatches</FONT ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Documentation</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tcMatchesFun" ><A NAME="v%3AtcMatchesFun" ></A ></A ><B >tcMatchesFun</B > :: <A HREF="Name.html#t%3AName" >Name</A > -> <A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <A HREF="HsExpr.html#t%3AMatchGroup" >MatchGroup</A > <A HREF="Name.html#t%3AName" >Name</A > -> <A HREF="TcType.html#t%3ABoxyRhoType" >BoxyRhoType</A > -> <A HREF="TcRnTypes.html#t%3ATcM" >TcM</A > (<A HREF="HsBinds.html#t%3AHsWrapper" >HsWrapper</A >, <A HREF="HsExpr.html#t%3AMatchGroup" >MatchGroup</A > <A HREF="TcRnTypes.html#t%3ATcId" >TcId</A >)</TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#tcMatchesFun" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tcGRHSsPat" ><A NAME="v%3AtcGRHSsPat" ></A ></A ><B >tcGRHSsPat</B > :: <A HREF="HsExpr.html#t%3AGRHSs" >GRHSs</A > <A HREF="Name.html#t%3AName" >Name</A > -> <A HREF="TcType.html#t%3ABoxyRhoType" >BoxyRhoType</A > -> <A HREF="TcRnTypes.html#t%3ATcM" >TcM</A > (<A HREF="HsExpr.html#t%3AGRHSs" >GRHSs</A > <A HREF="TcRnTypes.html#t%3ATcId" >TcId</A >)</TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#tcGRHSsPat" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tcMatchesCase" ><A NAME="v%3AtcMatchesCase" ></A ></A ><B >tcMatchesCase</B > :: <A HREF="TcMatches.html#t%3ATcMatchCtxt" >TcMatchCtxt</A > -> <A HREF="TcType.html#t%3ATcRhoType" >TcRhoType</A > -> <A HREF="HsExpr.html#t%3AMatchGroup" >MatchGroup</A > <A HREF="Name.html#t%3AName" >Name</A > -> <A HREF="TcType.html#t%3ABoxyRhoType" >BoxyRhoType</A > -> <A HREF="TcRnTypes.html#t%3ATcM" >TcM</A > (<A HREF="HsExpr.html#t%3AMatchGroup" >MatchGroup</A > <A HREF="TcRnTypes.html#t%3ATcId" >TcId</A >)</TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#tcMatchesCase" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tcMatchLambda" ><A NAME="v%3AtcMatchLambda" ></A ></A ><B >tcMatchLambda</B > :: <A HREF="HsExpr.html#t%3AMatchGroup" >MatchGroup</A > <A HREF="Name.html#t%3AName" >Name</A > -> <A HREF="TcType.html#t%3ABoxyRhoType" >BoxyRhoType</A > -> <A HREF="TcRnTypes.html#t%3ATcM" >TcM</A > (<A HREF="HsBinds.html#t%3AHsWrapper" >HsWrapper</A >, <A HREF="HsExpr.html#t%3AMatchGroup" >MatchGroup</A > <A HREF="TcRnTypes.html#t%3ATcId" >TcId</A >)</TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#tcMatchLambda" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:TcMatchCtxt" ><A NAME="t%3ATcMatchCtxt" ></A ></A ><B >TcMatchCtxt</B > </TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#TcMatchCtxt" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" >Constructors</TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="5" CELLPADDING="0" ><TR ><TD CLASS="arg" ><A NAME="v:MC" ><A NAME="v%3AMC" ></A ></A ><B >MC</B ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="body" COLSPAN="2" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="arg" ><A NAME="v:mc_what" ><A NAME="v%3Amc_what" ></A ></A ><B >mc_what</B > :: <A HREF="HsExpr.html#t%3AHsMatchContext" >HsMatchContext</A > <A HREF="Name.html#t%3AName" >Name</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:mc_body" ><A NAME="v%3Amc_body" ></A ></A ><B >mc_body</B > :: <A HREF="HsExpr.html#t%3ALHsExpr" >LHsExpr</A > <A HREF="Name.html#t%3AName" >Name</A > -> <A HREF="TcType.html#t%3ABoxyRhoType" >BoxyRhoType</A > -> <A HREF="TcRnTypes.html#t%3ATcM" >TcM</A > (<A HREF="HsExpr.html#t%3ALHsExpr" >LHsExpr</A > <A HREF="TcRnTypes.html#t%3ATcId" >TcId</A >)</TD ><TD CLASS="rdoc" ></TD ></TR ></TABLE ></TD ></TR ></TABLE ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tcStmts" ><A NAME="v%3AtcStmts" ></A ></A ><B >tcStmts</B > :: <A HREF="HsExpr.html#t%3AHsStmtContext" >HsStmtContext</A > <A HREF="Name.html#t%3AName" >Name</A > -> TcStmtChecker -> [<A HREF="HsExpr.html#t%3ALStmt" >LStmt</A > <A HREF="Name.html#t%3AName" >Name</A >] -> <A HREF="TcType.html#t%3ABoxyRhoType" >BoxyRhoType</A > -> (<A HREF="TcType.html#t%3ABoxyRhoType" >BoxyRhoType</A > -> <A HREF="TcRnTypes.html#t%3ATcM" >TcM</A > thing) -> <A HREF="TcRnTypes.html#t%3ATcM" >TcM</A > ([<A HREF="HsExpr.html#t%3ALStmt" >LStmt</A > <A HREF="TcRnTypes.html#t%3ATcId" >TcId</A >], thing)</TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#tcStmts" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tcDoStmts" ><A NAME="v%3AtcDoStmts" ></A ></A ><B >tcDoStmts</B > :: <A HREF="HsExpr.html#t%3AHsStmtContext" >HsStmtContext</A > <A HREF="Name.html#t%3AName" >Name</A > -> [<A HREF="HsExpr.html#t%3ALStmt" >LStmt</A > <A HREF="Name.html#t%3AName" >Name</A >] -> <A HREF="HsExpr.html#t%3ALHsExpr" >LHsExpr</A > <A HREF="Name.html#t%3AName" >Name</A > -> <A HREF="TcType.html#t%3ABoxyRhoType" >BoxyRhoType</A > -> <A HREF="TcRnTypes.html#t%3ATcM" >TcM</A > (<A HREF="HsExpr.html#t%3AHsExpr" >HsExpr</A > <A HREF="TcRnTypes.html#t%3ATcId" >TcId</A >)</TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#tcDoStmts" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tcBody" ><A NAME="v%3AtcBody" ></A ></A ><B >tcBody</B > :: <A HREF="HsExpr.html#t%3ALHsExpr" >LHsExpr</A > <A HREF="Name.html#t%3AName" >Name</A > -> <A HREF="TcType.html#t%3ABoxyRhoType" >BoxyRhoType</A > -> <A HREF="TcRnTypes.html#t%3ATcM" >TcM</A > (<A HREF="HsExpr.html#t%3ALHsExpr" >LHsExpr</A > <A HREF="TcRnTypes.html#t%3ATcId" >TcId</A >)</TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#tcBody" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tcDoStmt" ><A NAME="v%3AtcDoStmt" ></A ></A ><B >tcDoStmt</B > :: TcStmtChecker</TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#tcDoStmt" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tcMDoStmt" ><A NAME="v%3AtcMDoStmt" ></A ></A ><B >tcMDoStmt</B > :: (<A HREF="HsExpr.html#t%3ALHsExpr" >LHsExpr</A > <A HREF="Name.html#t%3AName" >Name</A > -> <A HREF="TcRnTypes.html#t%3ATcM" >TcM</A > (<A HREF="HsExpr.html#t%3ALHsExpr" >LHsExpr</A > <A HREF="TcRnTypes.html#t%3ATcId" >TcId</A >, <A HREF="TcType.html#t%3ATcType" >TcType</A >)) -> TcStmtChecker</TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#tcMDoStmt" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:tcGuardStmt" ><A NAME="v%3AtcGuardStmt" ></A ></A ><B >tcGuardStmt</B > :: TcStmtChecker</TD ><TD CLASS="declbut" ><A HREF="src/TcMatches.html#tcGuardStmt" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="botbar" >Produced by <A HREF="http://www.haskell.org/haddock/" >Haddock</A > version 2.6.1</TD ></TR ></TABLE ></BODY ></HTML >