This file is indexed.

/usr/share/doc/haskell-haskelldb-doc/html/Database-HaskellDB-PrimQuery.html is in libghc-haskelldb-doc 2.1.1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!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>Database.HaskellDB.PrimQuery</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_Database-HaskellDB-PrimQuery.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Database-HaskellDB-PrimQuery.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">haskelldb-2.1.1: A library of combinators for generating and executing SQL statements.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>non portable</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>haskelldb-users@lists.sourceforge.net</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Database.HaskellDB.PrimQuery</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Type Declarations
</a><ul><li><a href="#g:2">Types
</a></li><li><a href="#g:3">Data types
</a></li></ul></li><li><a href="#g:4">Function declarations
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>PrimQuery defines the datatype of relational expressions
 (<code><a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></code>) and some useful functions on PrimQuery's
</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:TableName">TableName</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Attribute">Attribute</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Scheme">Scheme</a> = [<a href="Database-HaskellDB-PrimQuery.html#t:Attribute">Attribute</a>]</li><li class="src short"><span class="keyword">type</span> <a href="#t:Assoc">Assoc</a> = [(<a href="Database-HaskellDB-PrimQuery.html#t:Attribute">Attribute</a>, <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>)]</li><li class="src short"><span class="keyword">type</span> <a href="#t:Name">Name</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:PrimQuery">PrimQuery</a> <ul class="subs"><li>= <a href="#v:BaseTable">BaseTable</a> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a>  </li><li>| <a href="#v:Project">Project</a> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a>  </li><li>| <a href="#v:Restrict">Restrict</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a>  </li><li>| <a href="#v:Group">Group</a> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a>  </li><li>| <a href="#v:Binary">Binary</a> <a href="Database-HaskellDB-PrimQuery.html#t:RelOp">RelOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a>  </li><li>| <a href="#v:Special">Special</a> <a href="Database-HaskellDB-PrimQuery.html#t:SpecialOp">SpecialOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a>  </li><li>| <a href="#v:Empty">Empty</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:RelOp">RelOp</a> <ul class="subs"><li>= <a href="#v:Times">Times</a>  </li><li>| <a href="#v:Union">Union</a>  </li><li>| <a href="#v:Intersect">Intersect</a>  </li><li>| <a href="#v:Divide">Divide</a>  </li><li>| <a href="#v:Difference">Difference</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:SpecialOp">SpecialOp</a> <ul class="subs"><li>= <a href="#v:Order">Order</a> [<a href="Database-HaskellDB-PrimQuery.html#t:OrderExpr">OrderExpr</a>]  </li><li>| <a href="#v:Top">Top</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:PrimExpr">PrimExpr</a> <ul class="subs"><li>= <a href="#v:AttrExpr">AttrExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:Attribute">Attribute</a>  </li><li>| <a href="#v:BinExpr">BinExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:BinOp">BinOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>  </li><li>| <a href="#v:UnExpr">UnExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:UnOp">UnOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>  </li><li>| <a href="#v:AggrExpr">AggrExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:AggrOp">AggrOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>  </li><li>| <a href="#v:ConstExpr">ConstExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:Literal">Literal</a>  </li><li>| <a href="#v:CaseExpr">CaseExpr</a> [(<a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>, <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>)] <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>  </li><li>| <a href="#v:ListExpr">ListExpr</a> [<a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>]  </li><li>| <a href="#v:ParamExpr">ParamExpr</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a>) <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>  </li><li>| <a href="#v:FunExpr">FunExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a> [<a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>]  </li><li>| <a href="#v:CastExpr">CastExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:OrderExpr">OrderExpr</a>  = <a href="#v:OrderExpr">OrderExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:OrderOp">OrderOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:BinOp">BinOp</a> <ul class="subs"><li>= <a href="#v:OpEq">OpEq</a>  </li><li>| <a href="#v:OpLt">OpLt</a>  </li><li>| <a href="#v:OpLtEq">OpLtEq</a>  </li><li>| <a href="#v:OpGt">OpGt</a>  </li><li>| <a href="#v:OpGtEq">OpGtEq</a>  </li><li>| <a href="#v:OpNotEq">OpNotEq</a>  </li><li>| <a href="#v:OpAnd">OpAnd</a>  </li><li>| <a href="#v:OpOr">OpOr</a>  </li><li>| <a href="#v:OpLike">OpLike</a>  </li><li>| <a href="#v:OpIn">OpIn</a>  </li><li>| <a href="#v:OpOther">OpOther</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>  </li><li>| <a href="#v:OpCat">OpCat</a>  </li><li>| <a href="#v:OpPlus">OpPlus</a>  </li><li>| <a href="#v:OpMinus">OpMinus</a>  </li><li>| <a href="#v:OpMul">OpMul</a>  </li><li>| <a href="#v:OpDiv">OpDiv</a>  </li><li>| <a href="#v:OpMod">OpMod</a>  </li><li>| <a href="#v:OpBitNot">OpBitNot</a>  </li><li>| <a href="#v:OpBitAnd">OpBitAnd</a>  </li><li>| <a href="#v:OpBitOr">OpBitOr</a>  </li><li>| <a href="#v:OpBitXor">OpBitXor</a>  </li><li>| <a href="#v:OpAsg">OpAsg</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:UnOp">UnOp</a> <ul class="subs"><li>= <a href="#v:OpNot">OpNot</a>  </li><li>| <a href="#v:OpIsNull">OpIsNull</a>  </li><li>| <a href="#v:OpIsNotNull">OpIsNotNull</a>  </li><li>| <a href="#v:OpLength">OpLength</a>  </li><li>| <a href="#v:UnOpOther">UnOpOther</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:OrderOp">OrderOp</a> <ul class="subs"><li>= <a href="#v:OpAsc">OpAsc</a>  </li><li>| <a href="#v:OpDesc">OpDesc</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:AggrOp">AggrOp</a> <ul class="subs"><li>= <a href="#v:AggrCount">AggrCount</a>  </li><li>| <a href="#v:AggrSum">AggrSum</a>  </li><li>| <a href="#v:AggrAvg">AggrAvg</a>  </li><li>| <a href="#v:AggrMin">AggrMin</a>  </li><li>| <a href="#v:AggrMax">AggrMax</a>  </li><li>| <a href="#v:AggrStdDev">AggrStdDev</a>  </li><li>| <a href="#v:AggrStdDevP">AggrStdDevP</a>  </li><li>| <a href="#v:AggrVar">AggrVar</a>  </li><li>| <a href="#v:AggrVarP">AggrVarP</a>  </li><li>| <a href="#v:AggrOther">AggrOther</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>  </li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Literal">Literal</a> <ul class="subs"><li>= <a href="#v:NullLit">NullLit</a>  </li><li>| <a href="#v:DefaultLit">DefaultLit</a>  </li><li>| <a href="#v:BoolLit">BoolLit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a>  </li><li>| <a href="#v:StringLit">StringLit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>  </li><li>| <a href="#v:IntegerLit">IntegerLit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Integer">Integer</a>  </li><li>| <a href="#v:DoubleLit">DoubleLit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a>  </li><li>| <a href="#v:DateLit">DateLit</a> <a href="Database-HaskellDB-DBLayout.html#t:CalendarTime">CalendarTime</a>  </li><li>| <a href="#v:OtherLit">OtherLit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>  </li></ul></li><li class="src short"><a href="#v:extend">extend</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></li><li class="src short"><a href="#v:times">times</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></li><li class="src short"><a href="#v:attributes">attributes</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a></li><li class="src short"><a href="#v:attrInExpr">attrInExpr</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a></li><li class="src short"><a href="#v:attrInOrder">attrInOrder</a> :: [<a href="Database-HaskellDB-PrimQuery.html#t:OrderExpr">OrderExpr</a>] -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a></li><li class="src short"><a href="#v:substAttr">substAttr</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></li><li class="src short"><a href="#v:isAggregate">isAggregate</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isConstant">isConstant</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:foldPrimQuery">foldPrimQuery</a> ::  (t, <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a> -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:RelOp">RelOp</a> -&gt; t -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:SpecialOp">SpecialOp</a> -&gt; t -&gt; t) -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -&gt; t</li><li class="src short"><a href="#v:foldPrimExpr">foldPrimExpr</a> ::  (<a href="Database-HaskellDB-PrimQuery.html#t:Attribute">Attribute</a> -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:Literal">Literal</a> -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:BinOp">BinOp</a> -&gt; t -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:UnOp">UnOp</a> -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:AggrOp">AggrOp</a> -&gt; t -&gt; t, [(t, t)] -&gt; t -&gt; t, [t] -&gt; t, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a> -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a> -&gt; [t] -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a> -&gt; t -&gt; t) -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; t</li></ul></div><div id="interface"><h1 id="g:1">Type Declarations
</h1><h2 id="g:2">Types
</h2><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:TableName" class="def">TableName</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Database-HaskellDB-PrimQuery.html#TableName" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Attribute" class="def">Attribute</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Database-HaskellDB-PrimQuery.html#Attribute" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Scheme" class="def">Scheme</a> = [<a href="Database-HaskellDB-PrimQuery.html#t:Attribute">Attribute</a>]<a href="src/Database-HaskellDB-PrimQuery.html#Scheme" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Assoc" class="def">Assoc</a> = [(<a href="Database-HaskellDB-PrimQuery.html#t:Attribute">Attribute</a>, <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>)]<a href="src/Database-HaskellDB-PrimQuery.html#Assoc" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Name" class="def">Name</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Database-HaskellDB-PrimQuery.html#Name" class="link">Source</a></p></div><h2 id="g:3">Data types
</h2><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:PrimQuery" class="def">PrimQuery</a>  <a href="src/Database-HaskellDB-PrimQuery.html#PrimQuery" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:BaseTable" class="def">BaseTable</a> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Project" class="def">Project</a> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Restrict" class="def">Restrict</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Group" class="def">Group</a> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Binary" class="def">Binary</a> <a href="Database-HaskellDB-PrimQuery.html#t:RelOp">RelOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Special" class="def">Special</a> <a href="Database-HaskellDB-PrimQuery.html#t:SpecialOp">SpecialOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Empty" class="def">Empty</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:PrimQuery" class="caption collapser" onclick="toggleSection('i:PrimQuery')">Instances</p><div id="section.i:PrimQuery" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</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:RelOp" class="def">RelOp</a>  <a href="src/Database-HaskellDB-PrimQuery.html#RelOp" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Times" class="def">Times</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Union" class="def">Union</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Intersect" class="def">Intersect</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Divide" class="def">Divide</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Difference" class="def">Difference</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:RelOp" class="caption collapser" onclick="toggleSection('i:RelOp')">Instances</p><div id="section.i:RelOp" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Database-HaskellDB-PrimQuery.html#t:RelOp">RelOp</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:SpecialOp" class="def">SpecialOp</a>  <a href="src/Database-HaskellDB-PrimQuery.html#SpecialOp" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Order" class="def">Order</a> [<a href="Database-HaskellDB-PrimQuery.html#t:OrderExpr">OrderExpr</a>]</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Top" class="def">Top</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:SpecialOp" class="caption collapser" onclick="toggleSection('i:SpecialOp')">Instances</p><div id="section.i:SpecialOp" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Database-HaskellDB-PrimQuery.html#t:SpecialOp">SpecialOp</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:PrimExpr" class="def">PrimExpr</a>  <a href="src/Database-HaskellDB-PrimQuery.html#PrimExpr" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:AttrExpr" class="def">AttrExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:Attribute">Attribute</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:BinExpr" class="def">BinExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:BinOp">BinOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:UnExpr" class="def">UnExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:UnOp">UnOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AggrExpr" class="def">AggrExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:AggrOp">AggrOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ConstExpr" class="def">ConstExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:Literal">Literal</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:CaseExpr" class="def">CaseExpr</a> [(<a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>, <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>)] <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ListExpr" class="def">ListExpr</a> [<a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>]</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ParamExpr" class="def">ParamExpr</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a>) <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:FunExpr" class="def">FunExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a> [<a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>]</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:CastExpr" class="def">CastExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></td><td class="doc"><p>Cast an expression to a given type.
</p></td></tr></table></div><div class="subs instances"><p id="control.i:PrimExpr" class="caption collapser" onclick="toggleSection('i:PrimExpr')">Instances</p><div id="section.i:PrimExpr" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</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:OrderExpr" class="def">OrderExpr</a>  <a href="src/Database-HaskellDB-PrimQuery.html#OrderExpr" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OrderExpr" class="def">OrderExpr</a> <a href="Database-HaskellDB-PrimQuery.html#t:OrderOp">OrderOp</a> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:OrderExpr" class="caption collapser" onclick="toggleSection('i:OrderExpr')">Instances</p><div id="section.i:OrderExpr" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Database-HaskellDB-PrimQuery.html#t:OrderExpr">OrderExpr</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:BinOp" class="def">BinOp</a>  <a href="src/Database-HaskellDB-PrimQuery.html#BinOp" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OpEq" class="def">OpEq</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpLt" class="def">OpLt</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpLtEq" class="def">OpLtEq</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpGt" class="def">OpGt</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpGtEq" class="def">OpGtEq</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpNotEq" class="def">OpNotEq</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpAnd" class="def">OpAnd</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpOr" class="def">OpOr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpLike" class="def">OpLike</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpIn" class="def">OpIn</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpOther" class="def">OpOther</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpCat" class="def">OpCat</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpPlus" class="def">OpPlus</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpMinus" class="def">OpMinus</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpMul" class="def">OpMul</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpDiv" class="def">OpDiv</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpMod" class="def">OpMod</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpBitNot" class="def">OpBitNot</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpBitAnd" class="def">OpBitAnd</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpBitOr" class="def">OpBitOr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpBitXor" class="def">OpBitXor</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpAsg" class="def">OpAsg</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:BinOp" class="caption collapser" onclick="toggleSection('i:BinOp')">Instances</p><div id="section.i:BinOp" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> <a href="Database-HaskellDB-PrimQuery.html#t:BinOp">BinOp</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Database-HaskellDB-PrimQuery.html#t:BinOp">BinOp</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:UnOp" class="def">UnOp</a>  <a href="src/Database-HaskellDB-PrimQuery.html#UnOp" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OpNot" class="def">OpNot</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpIsNull" class="def">OpIsNull</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpIsNotNull" class="def">OpIsNotNull</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpLength" class="def">OpLength</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:UnOpOther" class="def">UnOpOther</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:UnOp" class="caption collapser" onclick="toggleSection('i:UnOp')">Instances</p><div id="section.i:UnOp" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> <a href="Database-HaskellDB-PrimQuery.html#t:UnOp">UnOp</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Database-HaskellDB-PrimQuery.html#t:UnOp">UnOp</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:OrderOp" class="def">OrderOp</a>  <a href="src/Database-HaskellDB-PrimQuery.html#OrderOp" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OpAsc" class="def">OpAsc</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OpDesc" class="def">OpDesc</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:OrderOp" class="caption collapser" onclick="toggleSection('i:OrderOp')">Instances</p><div id="section.i:OrderOp" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Database-HaskellDB-PrimQuery.html#t:OrderOp">OrderOp</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:AggrOp" class="def">AggrOp</a>  <a href="src/Database-HaskellDB-PrimQuery.html#AggrOp" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:AggrCount" class="def">AggrCount</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AggrSum" class="def">AggrSum</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AggrAvg" class="def">AggrAvg</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AggrMin" class="def">AggrMin</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AggrMax" class="def">AggrMax</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AggrStdDev" class="def">AggrStdDev</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AggrStdDevP" class="def">AggrStdDevP</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AggrVar" class="def">AggrVar</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AggrVarP" class="def">AggrVarP</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AggrOther" class="def">AggrOther</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:AggrOp" class="caption collapser" onclick="toggleSection('i:AggrOp')">Instances</p><div id="section.i:AggrOp" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> <a href="Database-HaskellDB-PrimQuery.html#t:AggrOp">AggrOp</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Database-HaskellDB-PrimQuery.html#t:AggrOp">AggrOp</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:Literal" class="def">Literal</a>  <a href="src/Database-HaskellDB-PrimQuery.html#Literal" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:NullLit" class="def">NullLit</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:DefaultLit" class="def">DefaultLit</a></td><td class="doc"><p>represents a default value
</p></td></tr><tr><td class="src"><a name="v:BoolLit" class="def">BoolLit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:StringLit" class="def">StringLit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:IntegerLit" class="def">IntegerLit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Integer">Integer</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:DoubleLit" class="def">DoubleLit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:DateLit" class="def">DateLit</a> <a href="Database-HaskellDB-DBLayout.html#t:CalendarTime">CalendarTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OtherLit" class="def">OtherLit</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>used for hacking in custom SQL
</p></td></tr></table></div><div class="subs instances"><p id="control.i:Literal" class="caption collapser" onclick="toggleSection('i:Literal')">Instances</p><div id="section.i:Literal" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> <a href="Database-HaskellDB-PrimQuery.html#t:Literal">Literal</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> <a href="Database-HaskellDB-PrimQuery.html#t:Literal">Literal</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:4">Function declarations
</h1><div class="top"><p class="src"><a name="v:extend" class="def">extend</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a><a href="src/Database-HaskellDB-PrimQuery.html#extend" class="link">Source</a></p><div class="doc"><p>Creates a projection of some attributes while
   keeping all other attributes in the relation visible too. 
</p></div></div><div class="top"><p class="src"><a name="v:times" class="def">times</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a><a href="src/Database-HaskellDB-PrimQuery.html#times" class="link">Source</a></p><div class="doc"><p>Takes the cartesian product of two queries.
</p></div></div><div class="top"><p class="src"><a name="v:attributes" class="def">attributes</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a><a href="src/Database-HaskellDB-PrimQuery.html#attributes" class="link">Source</a></p><div class="doc"><p>Returns the schema (the attributes) of a query
</p></div></div><div class="top"><p class="src"><a name="v:attrInExpr" class="def">attrInExpr</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a><a href="src/Database-HaskellDB-PrimQuery.html#attrInExpr" class="link">Source</a></p><div class="doc"><p>Returns all attributes in an expression.
</p></div></div><div class="top"><p class="src"><a name="v:attrInOrder" class="def">attrInOrder</a> :: [<a href="Database-HaskellDB-PrimQuery.html#t:OrderExpr">OrderExpr</a>] -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a><a href="src/Database-HaskellDB-PrimQuery.html#attrInOrder" class="link">Source</a></p><div class="doc"><p>Returns all attributes in a list of ordering expressions.
</p></div></div><div class="top"><p class="src"><a name="v:substAttr" class="def">substAttr</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a><a href="src/Database-HaskellDB-PrimQuery.html#substAttr" class="link">Source</a></p><div class="doc"><p>Substitute attribute names in an expression.
</p></div></div><div class="top"><p class="src"><a name="v:isAggregate" class="def">isAggregate</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Database-HaskellDB-PrimQuery.html#isAggregate" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:isConstant" class="def">isConstant</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Database-HaskellDB-PrimQuery.html#isConstant" class="link">Source</a></p><div class="doc"><p>Determines if a primitive expression represents a constant
 or is an expression only involving constants.
</p></div></div><div class="top"><p class="src"><a name="v:foldPrimQuery" class="def">foldPrimQuery</a> ::  (t, <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a> -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:RelOp">RelOp</a> -&gt; t -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:SpecialOp">SpecialOp</a> -&gt; t -&gt; t) -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -&gt; t<a href="src/Database-HaskellDB-PrimQuery.html#foldPrimQuery" class="link">Source</a></p><div class="doc"><p>Fold on <code><a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:foldPrimExpr" class="def">foldPrimExpr</a> ::  (<a href="Database-HaskellDB-PrimQuery.html#t:Attribute">Attribute</a> -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:Literal">Literal</a> -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:BinOp">BinOp</a> -&gt; t -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:UnOp">UnOp</a> -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:AggrOp">AggrOp</a> -&gt; t -&gt; t, [(t, t)] -&gt; t -&gt; t, [t] -&gt; t, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a> -&gt; t -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a> -&gt; [t] -&gt; t, <a href="Database-HaskellDB-PrimQuery.html#t:Name">Name</a> -&gt; t -&gt; t) -&gt; <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -&gt; t<a href="src/Database-HaskellDB-PrimQuery.html#foldPrimExpr" class="link">Source</a></p><div class="doc"><p>Fold on <code><a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a></code>
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>