Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 1f2b142b9d2ef4849a6f5316fa1c5b12 > files > 2077

ghc-6.10.4-1mdv2010.0.i586.rpm

<!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
>TcTyFuns</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_TcTyFuns.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.10.4: The GHC API</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"
>TcTyFuns</FONT
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="#v%3AtcNormaliseFamInst"
>tcNormaliseFamInst</A
> :: <A HREF="TcType.html#t%3ATcType"
>TcType</A
> -&gt; <A HREF="TcRnTypes.html#t%3ATcM"
>TcM</A
> (<A HREF="Coercion.html#t%3ACoercionI"
>CoercionI</A
>, <A HREF="TcType.html#t%3ATcType"
>TcType</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtcReduceEqs"
>tcReduceEqs</A
> :: [<A HREF="TcRnTypes.html#t%3AInst"
>Inst</A
>] -&gt; [<A HREF="TcRnTypes.html#t%3AInst"
>Inst</A
>] -&gt; <A HREF="TcRnTypes.html#t%3ATcM"
>TcM</A
> ([<A HREF="TcRnTypes.html#t%3AInst"
>Inst</A
>], [<A HREF="TcRnTypes.html#t%3AInst"
>Inst</A
>], <A HREF="TcRnTypes.html#t%3ATcDictBinds"
>TcDictBinds</A
>, <A HREF="../ghc-prim/GHC-Bool.html#t%3ABool"
>Bool</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AmisMatchMsg"
>misMatchMsg</A
> :: <A HREF="VarEnv.html#t%3ATidyEnv"
>TidyEnv</A
> -&gt; (<A HREF="TcType.html#t%3ATcType"
>TcType</A
>, <A HREF="TcType.html#t%3ATcType"
>TcType</A
>) -&gt; (<A HREF="VarEnv.html#t%3ATidyEnv"
>TidyEnv</A
>, <A HREF="Outputable.html#t%3ASDoc"
>SDoc</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfailWithMisMatch"
>failWithMisMatch</A
> ::  <A HREF="TcType.html#t%3ATcType"
>TcType</A
> -&gt; <A HREF="TcType.html#t%3ATcType"
>TcType</A
> -&gt; <A HREF="TcRnTypes.html#t%3ATcM"
>TcM</A
> a</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Documentation</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:tcNormaliseFamInst"
><A NAME="v%3AtcNormaliseFamInst"
></A
></A
><B
>tcNormaliseFamInst</B
> :: <A HREF="TcType.html#t%3ATcType"
>TcType</A
> -&gt; <A HREF="TcRnTypes.html#t%3ATcM"
>TcM</A
> (<A HREF="Coercion.html#t%3ACoercionI"
>CoercionI</A
>, <A HREF="TcType.html#t%3ATcType"
>TcType</A
>)</TD
></TR
><TR
><TD CLASS="doc"
>Normalise the given type as far as possible with toplevel equalities.
 This results in a coercion witnessing the type equality, in addition to the
 normalised type.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:tcReduceEqs"
><A NAME="v%3AtcReduceEqs"
></A
></A
><B
>tcReduceEqs</B
> :: [<A HREF="TcRnTypes.html#t%3AInst"
>Inst</A
>] -&gt; [<A HREF="TcRnTypes.html#t%3AInst"
>Inst</A
>] -&gt; <A HREF="TcRnTypes.html#t%3ATcM"
>TcM</A
> ([<A HREF="TcRnTypes.html#t%3AInst"
>Inst</A
>], [<A HREF="TcRnTypes.html#t%3AInst"
>Inst</A
>], <A HREF="TcRnTypes.html#t%3ATcDictBinds"
>TcDictBinds</A
>, <A HREF="../ghc-prim/GHC-Bool.html#t%3ABool"
>Bool</A
>)</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:misMatchMsg"
><A NAME="v%3AmisMatchMsg"
></A
></A
><B
>misMatchMsg</B
> :: <A HREF="VarEnv.html#t%3ATidyEnv"
>TidyEnv</A
> -&gt; (<A HREF="TcType.html#t%3ATcType"
>TcType</A
>, <A HREF="TcType.html#t%3ATcType"
>TcType</A
>) -&gt; (<A HREF="VarEnv.html#t%3ATidyEnv"
>TidyEnv</A
>, <A HREF="Outputable.html#t%3ASDoc"
>SDoc</A
>)</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:failWithMisMatch"
><A NAME="v%3AfailWithMisMatch"
></A
></A
><B
>failWithMisMatch</B
> ::  <A HREF="TcType.html#t%3ATcType"
>TcType</A
> -&gt; <A HREF="TcType.html#t%3ATcType"
>TcType</A
> -&gt; <A HREF="TcRnTypes.html#t%3ATcM"
>TcM</A
> a</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.4.2</TD
></TR
></TABLE
></BODY
></HTML
>