Sophie

Sophie

distrib > Fedora > 19 > i386 > by-pkgid > 6141746cd5048a6ddf1cf3194274ce61 > files > 719

ghc-Agda-devel-2.3.2.1-5.fc19.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Agda.Compiler.Epic.AuxAST</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Agda-Compiler-Epic-AuxAST.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Agda-Compiler-Epic-AuxAST.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">Agda-2.3.2.1: A dependently typed functional programming language and proof assistant</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Agda.Compiler.Epic.AuxAST</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Some smart constructors
</a></li><li><a href="#g:2">Substitution
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Intermediate abstract syntax tree used in the compiler. Pretty close to
   Epic syntax.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">type</span> <a href="#t:Comment">Comment</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Inline">Inline</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Fun">Fun</a> <ul class="subs"><li>= <a href="#v:Fun">Fun</a> { <ul class="subs"><li><a href="#v:funInline">funInline</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Inline">Inline</a></li><li><a href="#v:funName">funName</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a></li><li><a href="#v:funQName">funQName</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Agda-Syntax-Abstract-Name.html#t:QName">QName</a></li><li><a href="#v:funComment">funComment</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Comment">Comment</a></li><li><a href="#v:funArgs">funArgs</a> :: [<a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>]</li><li><a href="#v:funExpr">funExpr</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></li></ul> }</li><li>| <a href="#v:EpicFun">EpicFun</a> { <ul class="subs"><li><a href="#v:funName">funName</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a></li><li><a href="#v:funQName">funQName</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Agda-Syntax-Abstract-Name.html#t:QName">QName</a></li><li><a href="#v:funComment">funComment</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Comment">Comment</a></li><li><a href="#v:funEpicCode">funEpicCode</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a></li></ul> }</li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Lit">Lit</a> <ul class="subs"><li>= <a href="#v:LInt">LInt</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Prelude.html#t:Integer">Integer</a>  </li><li>| <a href="#v:LChar">LChar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Char.html#t:Char">Char</a>  </li><li>| <a href="#v:LString">LString</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a>  </li><li>| <a href="#v:LFloat">LFloat</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Prelude.html#t:Double">Double</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Expr">Expr</a> <ul class="subs"><li>= <a href="#v:Var">Var</a> <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>  </li><li>| <a href="#v:Lit">Lit</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Lit">Lit</a>  </li><li>| <a href="#v:Lam">Lam</a> <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a>  </li><li>| <a href="#v:Con">Con</a> <a href="Agda-Compiler-Epic-Interface.html#t:Tag">Tag</a> <a href="Agda-Syntax-Abstract-Name.html#t:QName">QName</a> [<a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a>]  </li><li>| <a href="#v:App">App</a> <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> [<a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a>]  </li><li>| <a href="#v:Case">Case</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> [<a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a>]  </li><li>| <a href="#v:If">If</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a>  </li><li>| <a href="#v:Let">Let</a> <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a>  </li><li>| <a href="#v:Lazy">Lazy</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a>  </li><li>| <a href="#v:UNIT">UNIT</a>  </li><li>| <a href="#v:IMPOSSIBLE">IMPOSSIBLE</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Branch">Branch</a> <ul class="subs"><li>= <a href="#v:Branch">Branch</a> { <ul class="subs"><li><a href="#v:brTag">brTag</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Tag">Tag</a></li><li><a href="#v:brName">brName</a> :: <a href="Agda-Syntax-Abstract-Name.html#t:QName">QName</a></li><li><a href="#v:brVars">brVars</a> :: [<a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>]</li><li><a href="#v:brExpr">brExpr</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></li></ul> }</li><li>| <a href="#v:BrInt">BrInt</a> { <ul class="subs"><li><a href="#v:brInt">brInt</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:brExpr">brExpr</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></li></ul> }</li><li>| <a href="#v:Default">Default</a> { <ul class="subs"><li><a href="#v:brExpr">brExpr</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></li></ul> }</li></ul></li><li class="src short"><a href="#v:getBrVars">getBrVars</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a> -&gt; [<a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>]</li><li class="src short"><a href="#v:lett">lett</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></li><li class="src short"><a href="#v:lazy">lazy</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></li><li class="src short"><a href="#v:casee">casee</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; [<a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a>] -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></li><li class="src short"><a href="#v:apps">apps</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> -&gt; [<a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a>] -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></li><li class="src short"><a href="#v:subst">subst</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> -&gt; <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></li><li class="src short"><a href="#v:substs">substs</a> :: [(<a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>, <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>)] -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></li><li class="src short"><a href="#v:substBranch">substBranch</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> -&gt; <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a></li><li class="src short"><a href="#v:fv">fv</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; [<a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Comment" class="def">Comment</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a><a href="src/Agda-Compiler-Epic-AuxAST.html#Comment" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Inline" class="def">Inline</a> = <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Agda-Compiler-Epic-AuxAST.html#Inline" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Fun" class="def">Fun</a>  <a href="src/Agda-Compiler-Epic-AuxAST.html#Fun" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Fun" class="def">Fun</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:funInline" class="def">funInline</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Inline">Inline</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:funName" class="def">funName</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:funQName" class="def">funQName</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Agda-Syntax-Abstract-Name.html#t:QName">QName</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:funComment" class="def">funComment</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Comment">Comment</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:funArgs" class="def">funArgs</a> :: [<a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:funExpr" class="def">funExpr</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:EpicFun" class="def">EpicFun</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:funName" class="def">funName</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:funQName" class="def">funQName</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Agda-Syntax-Abstract-Name.html#t:QName">QName</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:funComment" class="def">funComment</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Comment">Comment</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:funEpicCode" class="def">funEpicCode</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Fun" class="caption collapser" onclick="toggleSection('i:Fun')">Instances</p><div id="section.i:Fun" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Fun">Fun</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Fun">Fun</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Text-Show.html#t:Show">Show</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Fun">Fun</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Lit" class="def">Lit</a>  <a href="src/Agda-Compiler-Epic-AuxAST.html#Lit" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:LInt" class="def">LInt</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Prelude.html#t:Integer">Integer</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:LChar" class="def">LChar</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Char.html#t:Char">Char</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:LString" class="def">LString</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:LFloat" class="def">LFloat</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Prelude.html#t:Double">Double</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Lit" class="caption collapser" onclick="toggleSection('i:Lit')">Instances</p><div id="section.i:Lit" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Lit">Lit</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Lit">Lit</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Text-Show.html#t:Show">Show</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Lit">Lit</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Expr" class="def">Expr</a>  <a href="src/Agda-Compiler-Epic-AuxAST.html#Expr" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Var" class="def">Var</a> <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Lit" class="def">Lit</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Lit">Lit</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Lam" class="def">Lam</a> <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Con" class="def">Con</a> <a href="Agda-Compiler-Epic-Interface.html#t:Tag">Tag</a> <a href="Agda-Syntax-Abstract-Name.html#t:QName">QName</a> [<a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a>]</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:App" class="def">App</a> <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> [<a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a>]</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Case" class="def">Case</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> [<a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a>]</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:If" class="def">If</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Let" class="def">Let</a> <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Lazy" class="def">Lazy</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:UNIT" class="def">UNIT</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:IMPOSSIBLE" class="def">IMPOSSIBLE</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Expr" class="caption collapser" onclick="toggleSection('i:Expr')">Instances</p><div id="section.i:Expr" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Text-Show.html#t:Show">Show</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Branch" class="def">Branch</a>  <a href="src/Agda-Compiler-Epic-AuxAST.html#Branch" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Branch" class="def">Branch</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:brTag" class="def">brTag</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Tag">Tag</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:brName" class="def">brName</a> :: <a href="Agda-Syntax-Abstract-Name.html#t:QName">QName</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:brVars" class="def">brVars</a> :: [<a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:brExpr" class="def">brExpr</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:BrInt" class="def">BrInt</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:brInt" class="def">brInt</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:brExpr" class="def">brExpr</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:Default" class="def">Default</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:brExpr" class="def">brExpr</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Branch" class="caption collapser" onclick="toggleSection('i:Branch')">Instances</p><div id="section.i:Branch" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.1.0/Text-Show.html#t:Show">Show</a> <a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getBrVars" class="def">getBrVars</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a> -&gt; [<a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>]<a href="src/Agda-Compiler-Epic-AuxAST.html#getBrVars" class="link">Source</a></p></div><h1 id="g:1">Some smart constructors
</h1><div class="top"><p class="src"><a name="v:lett" class="def">lett</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a><a href="src/Agda-Compiler-Epic-AuxAST.html#lett" class="link">Source</a></p><div class="doc"><p>Smart constructor for let expressions to avoid unneceessary lets
</p></div></div><div class="top"><p class="src"><a name="v:lazy" class="def">lazy</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a><a href="src/Agda-Compiler-Epic-AuxAST.html#lazy" class="link">Source</a></p><div class="doc"><p>Some things are pointless to make lazy
</p></div></div><div class="top"><p class="src"><a name="v:casee" class="def">casee</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; [<a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a>] -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a><a href="src/Agda-Compiler-Epic-AuxAST.html#casee" class="link">Source</a></p><div class="doc"><p>If casing on the same expression in a sub-expression, we know what branch to
   pick
</p></div></div><div class="top"><p class="src"><a name="v:apps" class="def">apps</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> -&gt; [<a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a>] -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a><a href="src/Agda-Compiler-Epic-AuxAST.html#apps" class="link">Source</a></p><div class="doc"><p>Smart constructor for applications to avoid empty applications
</p></div></div><h1 id="g:2">Substitution
</h1><div class="top"><p class="src"><a name="v:subst" class="def">subst</a><a href="src/Agda-Compiler-Epic-AuxAST.html#subst" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a></td><td class="doc"><p>Substitute this ...
</p></td></tr><tr><td class="src">-&gt; <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a></td><td class="doc"><p>with this ...
</p></td></tr><tr><td class="src">-&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></td><td class="doc"><p>in this.
</p></td></tr><tr><td class="src">-&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Substitution
</p></div></div><div class="top"><p class="src"><a name="v:substs" class="def">substs</a> :: [(<a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>, <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>)] -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a><a href="src/Agda-Compiler-Epic-AuxAST.html#substs" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:substBranch" class="def">substBranch</a> :: <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> -&gt; <a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a> -&gt; <a href="Agda-Compiler-Epic-AuxAST.html#t:Branch">Branch</a><a href="src/Agda-Compiler-Epic-AuxAST.html#substBranch" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:fv" class="def">fv</a> :: <a href="Agda-Compiler-Epic-AuxAST.html#t:Expr">Expr</a> -&gt; [<a href="Agda-Compiler-Epic-Interface.html#t:Var">Var</a>]<a href="src/Agda-Compiler-Epic-AuxAST.html#fv" class="link">Source</a></p><div class="doc"><p>Get the free variables in an expression
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.11.0</p></div></body></html>