<!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 >SimplUtils</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_SimplUtils.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="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" >SimplUtils</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="decl" ><A NAME="v:mkLam" ><A NAME="v%3AmkLam" ></A ></A ><B >mkLam</B > :: <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > -> [<A HREF="SimplEnv.html#t%3AOutBndr" >OutBndr</A >] -> <A HREF="SimplEnv.html#t%3AOutExpr" >OutExpr</A > -> <A HREF="SimplMonad.html#t%3ASimplM" >SimplM</A > <A HREF="SimplEnv.html#t%3AOutExpr" >OutExpr</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:mkCase" ><A NAME="v%3AmkCase" ></A ></A ><B >mkCase</B > :: <A HREF="SimplEnv.html#t%3AOutExpr" >OutExpr</A > -> <A HREF="SimplEnv.html#t%3AOutId" >OutId</A > -> [<A HREF="SimplEnv.html#t%3AOutAlt" >OutAlt</A >] -> <A HREF="SimplMonad.html#t%3ASimplM" >SimplM</A > <A HREF="SimplEnv.html#t%3AOutExpr" >OutExpr</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:prepareAlts" ><A NAME="v%3AprepareAlts" ></A ></A ><B >prepareAlts</B > :: <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > -> <A HREF="SimplEnv.html#t%3AOutExpr" >OutExpr</A > -> <A HREF="SimplEnv.html#t%3AOutId" >OutId</A > -> [<A HREF="SimplEnv.html#t%3AInAlt" >InAlt</A >] -> <A HREF="SimplMonad.html#t%3ASimplM" >SimplM</A > ([<A HREF="CoreSyn.html#t%3AAltCon" >AltCon</A >], [<A HREF="SimplEnv.html#t%3AInAlt" >InAlt</A >])</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:bindCaseBndr" ><A NAME="v%3AbindCaseBndr" ></A ></A ><B >bindCaseBndr</B > :: <A HREF="Var.html#t%3AId" >Id</A > -> <A HREF="CoreSyn.html#t%3ACoreExpr" >CoreExpr</A > -> <A HREF="CoreSyn.html#t%3ACoreExpr" >CoreExpr</A > -> <A HREF="CoreSyn.html#t%3ACoreExpr" >CoreExpr</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:preInlineUnconditionally" ><A NAME="v%3ApreInlineUnconditionally" ></A ></A ><B >preInlineUnconditionally</B > :: <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > -> <A HREF="BasicTypes.html#t%3ATopLevelFlag" >TopLevelFlag</A > -> <A HREF="SimplEnv.html#t%3AInId" >InId</A > -> <A HREF="SimplEnv.html#t%3AInExpr" >InExpr</A > -> <A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:postInlineUnconditionally" ><A NAME="v%3ApostInlineUnconditionally" ></A ></A ><B >postInlineUnconditionally</B > :: <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > -> <A HREF="BasicTypes.html#t%3ATopLevelFlag" >TopLevelFlag</A > -> <A HREF="SimplEnv.html#t%3AInId" >InId</A > -> <A HREF="BasicTypes.html#t%3AOccInfo" >OccInfo</A > -> <A HREF="SimplEnv.html#t%3AOutExpr" >OutExpr</A > -> <A HREF="CoreSyn.html#t%3AUnfolding" >Unfolding</A > -> <A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:activeInline" ><A NAME="v%3AactiveInline" ></A ></A ><B >activeInline</B > :: <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > -> <A HREF="SimplEnv.html#t%3AOutId" >OutId</A > -> <A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:activeRule" ><A NAME="v%3AactiveRule" ></A ></A ><B >activeRule</B > :: <A HREF="DynFlags.html#t%3ADynFlags" >DynFlags</A > -> <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > -> <A HREF="../base-4.2.0.2/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="BasicTypes.html#t%3AActivation" >Activation</A > -> <A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A >)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:inlineMode" ><A NAME="v%3AinlineMode" ></A ></A ><B >inlineMode</B > :: <A HREF="DynFlags.html#t%3ASimplifierMode" >SimplifierMode</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:SimplCont" ><A NAME="t%3ASimplCont" ></A ></A ><B >SimplCont</B > </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="1" CELLPADDING="0" ><TR ><TD CLASS="arg" ><A NAME="v:Stop" ><A NAME="v%3AStop" ></A ></A ><B >Stop</B > <A HREF="CoreUnfold.html#t%3ACallCtxt" >CallCtxt</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:CoerceIt" ><A NAME="v%3ACoerceIt" ></A ></A ><B >CoerceIt</B > <A HREF="SimplEnv.html#t%3AOutCoercion" >OutCoercion</A > <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:ApplyTo" ><A NAME="v%3AApplyTo" ></A ></A ><B >ApplyTo</B > <A HREF="SimplUtils.html#t%3ADupFlag" >DupFlag</A > <A HREF="SimplEnv.html#t%3AInExpr" >InExpr</A > <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:Select" ><A NAME="v%3ASelect" ></A ></A ><B >Select</B > <A HREF="SimplUtils.html#t%3ADupFlag" >DupFlag</A > <A HREF="SimplEnv.html#t%3AInId" >InId</A > [<A HREF="SimplEnv.html#t%3AInAlt" >InAlt</A >] <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:StrictBind" ><A NAME="v%3AStrictBind" ></A ></A ><B >StrictBind</B > <A HREF="SimplEnv.html#t%3AInId" >InId</A > [<A HREF="SimplEnv.html#t%3AInBndr" >InBndr</A >] <A HREF="SimplEnv.html#t%3AInExpr" >InExpr</A > <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:StrictArg" ><A NAME="v%3AStrictArg" ></A ></A ><B >StrictArg</B > <A HREF="SimplEnv.html#t%3AOutExpr" >OutExpr</A > <A HREF="CoreUnfold.html#t%3ACallCtxt" >CallCtxt</A > <A HREF="SimplUtils.html#t%3AArgInfo" >ArgInfo</A > <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A ></TD ><TD CLASS="rdoc" ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:SimplCont')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:SimplCont" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Outputable.html#t%3AOutputable" >Outputable</A > <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:DupFlag" ><A NAME="t%3ADupFlag" ></A ></A ><B >DupFlag</B > </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="1" CELLPADDING="0" ><TR ><TD CLASS="arg" ><A NAME="v:OkToDup" ><A NAME="v%3AOkToDup" ></A ></A ><B >OkToDup</B ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:NoDup" ><A NAME="v%3ANoDup" ></A ></A ><B >NoDup</B ></TD ><TD CLASS="rdoc" ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:DupFlag')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:DupFlag" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Outputable.html#t%3AOutputable" >Outputable</A > <A HREF="SimplUtils.html#t%3ADupFlag" >DupFlag</A ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:ArgInfo" ><A NAME="t%3AArgInfo" ></A ></A ><B >ArgInfo</B > </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:ArgInfo" ><A NAME="v%3AArgInfo" ></A ></A ><B >ArgInfo</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:ai_rules" ><A NAME="v%3Aai_rules" ></A ></A ><B >ai_rules</B > :: <A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:ai_strs" ><A NAME="v%3Aai_strs" ></A ></A ><B >ai_strs</B > :: [<A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A >]</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:ai_discs" ><A NAME="v%3Aai_discs" ></A ></A ><B >ai_discs</B > :: [<A HREF="../base-4.2.0.2/Data-Int.html#t%3AInt" >Int</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="decl" ><A NAME="v:contIsDupable" ><A NAME="v%3AcontIsDupable" ></A ></A ><B >contIsDupable</B > :: <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:contResultType" ><A NAME="v%3AcontResultType" ></A ></A ><B >contResultType</B > :: <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > -> <A HREF="SimplEnv.html#t%3AOutType" >OutType</A > -> <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="SimplEnv.html#t%3AOutType" >OutType</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:contIsTrivial" ><A NAME="v%3AcontIsTrivial" ></A ></A ><B >contIsTrivial</B > :: <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:contArgs" ><A NAME="v%3AcontArgs" ></A ></A ><B >contArgs</B > :: <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> ([<A HREF="SimplEnv.html#t%3AOutExpr" >OutExpr</A >], <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A >)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:dropArgs" ><A NAME="v%3AdropArgs" ></A ></A ><B >dropArgs</B > :: <A HREF="../base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:countValArgs" ><A NAME="v%3AcountValArgs" ></A ></A ><B >countValArgs</B > :: <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="../base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:countArgs" ><A NAME="v%3AcountArgs" ></A ></A ><B >countArgs</B > :: <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="../base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:splitInlineCont" ><A NAME="v%3AsplitInlineCont" ></A ></A ><B >splitInlineCont</B > :: <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="../base-4.2.0.2/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A >, <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A >)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:mkBoringStop" ><A NAME="v%3AmkBoringStop" ></A ></A ><B >mkBoringStop</B > :: <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:mkLazyArgStop" ><A NAME="v%3AmkLazyArgStop" ></A ></A ><B >mkLazyArgStop</B > :: <A HREF="CoreUnfold.html#t%3ACallCtxt" >CallCtxt</A > -> <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:contIsRhsOrArg" ><A NAME="v%3AcontIsRhsOrArg" ></A ></A ><B >contIsRhsOrArg</B > :: <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:interestingCallContext" ><A NAME="v%3AinterestingCallContext" ></A ></A ><B >interestingCallContext</B > :: <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="CoreUnfold.html#t%3ACallCtxt" >CallCtxt</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:interestingArgContext" ><A NAME="v%3AinterestingArgContext" ></A ></A ><B >interestingArgContext</B > :: <A HREF="Var.html#t%3AId" >Id</A > -> <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="../base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:interestingArg" ><A NAME="v%3AinterestingArg" ></A ></A ><B >interestingArg</B > :: <A HREF="CoreSyn.html#t%3ACoreExpr" >CoreExpr</A > -> <A HREF="CoreUnfold.html#t%3AArgSummary" >ArgSummary</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:mkArgInfo" ><A NAME="v%3AmkArgInfo" ></A ></A ><B >mkArgInfo</B > :: <A HREF="Var.html#t%3AId" >Id</A > -> <A HREF="../base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <A HREF="SimplUtils.html#t%3ASimplCont" >SimplCont</A > -> <A HREF="SimplUtils.html#t%3AArgInfo" >ArgInfo</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:abstractFloats" ><A NAME="v%3AabstractFloats" ></A ></A ><B >abstractFloats</B > :: [<A HREF="SimplEnv.html#t%3AOutTyVar" >OutTyVar</A >] -> <A HREF="SimplEnv.html#t%3ASimplEnv" >SimplEnv</A > -> <A HREF="SimplEnv.html#t%3AOutExpr" >OutExpr</A > -> <A HREF="SimplMonad.html#t%3ASimplM" >SimplM</A > ([<A HREF="SimplEnv.html#t%3AOutBind" >OutBind</A >], <A HREF="SimplEnv.html#t%3AOutExpr" >OutExpr</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.6.1</TD ></TR ></TABLE ></BODY ></HTML >