This file is indexed.

/usr/share/doc/haskell-haskelldb-doc/html/Database-HaskellDB-DBLayout.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!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.DBLayout</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-DBLayout.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Database-HaskellDB-DBLayout.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.DBLayout</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Exports every function needed by DBDirect generated 
 files
</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">module <a href="Database-HaskellDB-BoundedString.html">Database.HaskellDB.BoundedString</a></li><li class="src short">module <a href="Database-HaskellDB-DBSpec.html">Database.HaskellDB.DBSpec</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:CalendarTime">CalendarTime</a> </li><li class="src short"><span class="keyword">data</span>  <a href="#t:Expr">Expr</a> a</li><li class="src short"><span class="keyword">data</span>  <a href="#t:Table">Table</a> r</li><li class="src short"><span class="keyword">data</span>  <a href="#t:Attr">Attr</a> f a</li><li class="src short"><a href="#v:baseTable">baseTable</a> :: (<a href="Database-HaskellDB-HDBRec.html#t:ShowLabels">ShowLabels</a> r, <a href="Database-HaskellDB-Query.html#t:ToPrimExprs">ToPrimExprs</a> r) =&gt; <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -&gt; <a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r -&gt; <a href="Database-HaskellDB-DBLayout.html#t:Table">Table</a> r</li><li class="src short"><span class="keyword">data</span>  <a href="#t:RecCons">RecCons</a> f a b</li><li class="src short"><span class="keyword">data</span>  <a href="#t:RecNil">RecNil</a> </li><li class="src short"><span class="keyword">class</span>  <a href="#t:FieldTag">FieldTag</a> f  <span class="keyword">where</span><ul class="subs"><li><a href="#v:fieldName">fieldName</a> :: f -&gt; <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:hdbMakeEntry">hdbMakeEntry</a> :: <a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> f =&gt; f -&gt; <a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a>)</li><li class="src short"><a href="#v:mkAttr">mkAttr</a> :: <a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> f =&gt; f -&gt; <a href="Database-HaskellDB-DBLayout.html#t:Attr">Attr</a> f a</li><li class="src short"><a href="#v:-35-">(#)</a> ::  <a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a>) -&gt; (b -&gt; c) -&gt; b -&gt; <a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a c</li><li class="src short"><a href="#v:emptyTable">emptyTable</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -&gt; <a href="Database-HaskellDB-DBLayout.html#t:Table">Table</a> (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a>)</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="Database-HaskellDB-BoundedString.html">Database.HaskellDB.BoundedString</a></p></div><div class="top"><p class="src">module <a href="Database-HaskellDB-DBSpec.html">Database.HaskellDB.DBSpec</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:CalendarTime" class="def">CalendarTime</a>  </p><div class="doc"><p><code><a href="Database-HaskellDB-DBLayout.html#t:CalendarTime">CalendarTime</a></code> is a user-readable and manipulable
 representation of the internal <code><a href="/usr/share/doc/ghc-doc/html/libraries/old-time-1.1.0.0/System-Time.html#t:ClockTime">ClockTime</a></code> type.
</p></div><div class="subs instances"><p id="control.i:CalendarTime" class="caption collapser" onclick="toggleSection('i:CalendarTime')">Instances</p><div id="section.i:CalendarTime" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Database-HaskellDB-DBLayout.html#t:CalendarTime">CalendarTime</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/Data-Ord.html#t:Ord">Ord</a> <a href="Database-HaskellDB-DBLayout.html#t:CalendarTime">CalendarTime</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-Read.html#t:Read">Read</a> <a href="Database-HaskellDB-DBLayout.html#t:CalendarTime">CalendarTime</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-DBLayout.html#t:CalendarTime">CalendarTime</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/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Database-HaskellDB-DBLayout.html#t:CalendarTime">CalendarTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Query.html#t:ShowConstant">ShowConstant</a> <a href="Database-HaskellDB-DBLayout.html#t:CalendarTime">CalendarTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-FieldType.html#t:ExprType">ExprType</a> <a href="Database-HaskellDB-DBLayout.html#t:CalendarTime">CalendarTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Database.html#t:GetValue">GetValue</a> <a href="Database-HaskellDB-DBLayout.html#t:CalendarTime">CalendarTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Database.html#t:GetValue">GetValue</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-DBLayout.html#t:CalendarTime">CalendarTime</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 <a href="src/Database-HaskellDB-Query.html#Expr" class="link">Source</a></p><div class="doc"><p>Type of normal expressions, contains the untyped PrimExpr.
</p></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="Database-HaskellDB-Query.html#t:ProjectExpr">ProjectExpr</a> <a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">InsertExpr <a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Query.html#t:ExprC">ExprC</a> <a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</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-Read.html#t:Read">Read</a> (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> 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-DBLayout.html#t:Expr">Expr</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">IsExpr (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Query.html#t:Args">Args</a> (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-FieldType.html#t:ExprType">ExprType</a> a =&gt; <a href="Database-HaskellDB-FieldType.html#t:ExprType">ExprType</a> (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">BStrToStr (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>) (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</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">BStrToStr (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a>)) (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</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 href="Database-HaskellDB-BoundedList.html#t:Size">Size</a> n =&gt; BStrToStr (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</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-BoundedString.html#t:BoundedString">BoundedString</a> n))) (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</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 href="Database-HaskellDB-BoundedList.html#t:Size">Size</a> n =&gt; BStrToStr (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> (<a href="Database-HaskellDB-BoundedString.html#t:BoundedString">BoundedString</a> n)) (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</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">IsExpr tail =&gt; IsExpr (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a -&gt; tail)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Query.html#t:Args">Args</a> (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a -&gt; <a href="Database-HaskellDB-Query.html#t:ExprAggr">ExprAggr</a> c)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(IsExpr tail, <a href="Database-HaskellDB-Query.html#t:Args">Args</a> tail) =&gt; <a href="Database-HaskellDB-Query.html#t:Args">Args</a> (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a -&gt; tail)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:HasField">HasField</a> f r =&gt; <a href="Database-HaskellDB-HDBRec.html#t:Select">Select</a> (<a href="Database-HaskellDB-DBLayout.html#t:Attr">Attr</a> f a) (<a href="Database-HaskellDB-Query.html#t:Rel">Rel</a> r) (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a)</td><td class="doc"><p>Field selection operator. It is overloaded to work for both
   relations in a query and the result of a query.
   That is, it corresponds to both <code><a href="Database-HaskellDB-HDBRec.html#v:-33-">!</a></code> and <code>!.</code> from the original
   HaskellDB. An overloaded operator was selected because users
   (and the developers) always forgot to use !. instead of !
   on query results.
</p></td></tr><tr><td class="src">(<a href="Database-HaskellDB-Query.html#t:RelToRec">RelToRec</a> rest, <a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> f) =&gt; <a href="Database-HaskellDB-Query.html#t:RelToRec">RelToRec</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) rest)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-Query.html#t:ShowConstant">ShowConstant</a> a, <a href="Database-HaskellDB-Query.html#t:ConstantRecord">ConstantRecord</a> r cr) =&gt; <a href="Database-HaskellDB-Query.html#t:ConstantRecord">ConstantRecord</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a r) (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) cr)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-Query.html#t:ProjectExpr">ProjectExpr</a> e, <a href="Database-HaskellDB-Query.html#t:ProjectRec">ProjectRec</a> r er) =&gt; <a href="Database-HaskellDB-Query.html#t:ProjectRec">ProjectRec</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (e a) r) (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) er)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(InsertExpr e, <a href="Database-HaskellDB-Query.html#t:InsertRec">InsertRec</a> r er) =&gt; <a href="Database-HaskellDB-Query.html#t:InsertRec">InsertRec</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (e a) r) (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) er)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-Database.html#t:GetValue">GetValue</a> a, <a href="Database-HaskellDB-Database.html#t:GetRec">GetRec</a> er vr) =&gt; <a href="Database-HaskellDB-Database.html#t:GetRec">GetRec</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) er) (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a vr)</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:Table" class="def">Table</a> r <a href="src/Database-HaskellDB-Query.html#Table" class="link">Source</a></p><div class="doc"><p>Basic tables, contains table name and an
   association from attributes to attribute
   names in the real table.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Attr" class="def">Attr</a> f a <a href="src/Database-HaskellDB-Query.html#Attr" class="link">Source</a></p><div class="doc"><p>Typed attributes
</p></div><div class="subs instances"><p id="control.i:Attr" class="caption collapser" onclick="toggleSection('i:Attr')">Instances</p><div id="section.i:Attr" class="show"><table><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:HasField">HasField</a> f r =&gt; <a href="Database-HaskellDB-HDBRec.html#t:Select">Select</a> (<a href="Database-HaskellDB-DBLayout.html#t:Attr">Attr</a> f a) (<a href="Database-HaskellDB-Query.html#t:Rel">Rel</a> r) (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a)</td><td class="doc"><p>Field selection operator. It is overloaded to work for both
   relations in a query and the result of a query.
   That is, it corresponds to both <code><a href="Database-HaskellDB-HDBRec.html#v:-33-">!</a></code> and <code>!.</code> from the original
   HaskellDB. An overloaded operator was selected because users
   (and the developers) always forgot to use !. instead of !
   on query results.
</p></td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:baseTable" class="def">baseTable</a> :: (<a href="Database-HaskellDB-HDBRec.html#t:ShowLabels">ShowLabels</a> r, <a href="Database-HaskellDB-Query.html#t:ToPrimExprs">ToPrimExprs</a> r) =&gt; <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -&gt; <a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r -&gt; <a href="Database-HaskellDB-DBLayout.html#t:Table">Table</a> r<a href="src/Database-HaskellDB-Query.html#baseTable" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:RecCons" class="def">RecCons</a> f a b <a href="src/Database-HaskellDB-HDBRec.html#RecCons" class="link">Source</a></p><div class="doc"><p>Constructor that adds a field to a record.
 f is the field tag, a is the field value and b is the rest of the record.
</p></div><div class="subs instances"><p id="control.i:RecCons" class="caption collapser" onclick="toggleSection('i:RecCons')">Instances</p><div id="section.i:RecCons" class="show"><table><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:HasField">HasField</a> f r =&gt; <a href="Database-HaskellDB-HDBRec.html#t:HasField">HasField</a> f (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> g a r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:HasField">HasField</a> f (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:SetField">SetField</a> f r a =&gt; <a href="Database-HaskellDB-HDBRec.html#t:SetField">SetField</a> f (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> g b r) a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:SetField">SetField</a> f (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a r) a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">SelectField f r a =&gt; SelectField f (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> g b r) a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">SelectField f (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a r) 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/Data-Eq.html#t:Eq">Eq</a> a, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> b) =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a b)</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/Data-Ord.html#t:Ord">Ord</a> a, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ord">Ord</a> b) =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a b)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> a, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> b, <a href="Database-HaskellDB-HDBRec.html#t:ReadRecRow">ReadRecRow</a> c) =&gt; <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-DBLayout.html#t:RecCons">RecCons</a> a b c)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> a, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> b, <a href="Database-HaskellDB-HDBRec.html#t:ShowRecRow">ShowRecRow</a> c) =&gt; <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-DBLayout.html#t:RecCons">RecCons</a> a b c)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> a, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> b, <a href="Database-HaskellDB-HDBRec.html#t:ReadRecRow">ReadRecRow</a> c) =&gt; <a href="Database-HaskellDB-HDBRec.html#t:ReadRecRow">ReadRecRow</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> a b c)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> a, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> b, <a href="Database-HaskellDB-HDBRec.html#t:ShowRecRow">ShowRecRow</a> c) =&gt; <a href="Database-HaskellDB-HDBRec.html#t:ShowRecRow">ShowRecRow</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> a b c)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> f, <a href="Database-HaskellDB-HDBRec.html#t:ShowLabels">ShowLabels</a> r) =&gt; <a href="Database-HaskellDB-HDBRec.html#t:ShowLabels">ShowLabels</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-Query.html#t:ExprC">ExprC</a> e, <a href="Database-HaskellDB-Query.html#t:ToPrimExprs">ToPrimExprs</a> r) =&gt; <a href="Database-HaskellDB-Query.html#t:ToPrimExprs">ToPrimExprs</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> l (e a) r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-Query.html#t:RelToRec">RelToRec</a> rest, <a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> f) =&gt; <a href="Database-HaskellDB-Query.html#t:RelToRec">RelToRec</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) rest)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-FieldType.html#t:ExprType">ExprType</a> e, <a href="Database-HaskellDB-FieldType.html#t:ExprTypes">ExprTypes</a> r) =&gt; <a href="Database-HaskellDB-FieldType.html#t:ExprTypes">ExprTypes</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f e r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:RecCat">RecCat</a> r1 r2 r3 =&gt; <a href="Database-HaskellDB-HDBRec.html#t:RecCat">RecCat</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a r1) r2 (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a r3)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-Query.html#t:ShowConstant">ShowConstant</a> a, <a href="Database-HaskellDB-Query.html#t:ConstantRecord">ConstantRecord</a> r cr) =&gt; <a href="Database-HaskellDB-Query.html#t:ConstantRecord">ConstantRecord</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a r) (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) cr)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-Query.html#t:ProjectExpr">ProjectExpr</a> e, <a href="Database-HaskellDB-Query.html#t:ProjectRec">ProjectRec</a> r er) =&gt; <a href="Database-HaskellDB-Query.html#t:ProjectRec">ProjectRec</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (e a) r) (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) er)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(InsertExpr e, <a href="Database-HaskellDB-Query.html#t:InsertRec">InsertRec</a> r er) =&gt; <a href="Database-HaskellDB-Query.html#t:InsertRec">InsertRec</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (e a) r) (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) er)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-HaskellDB-Database.html#t:GetValue">GetValue</a> a, <a href="Database-HaskellDB-Database.html#t:GetRec">GetRec</a> er vr) =&gt; <a href="Database-HaskellDB-Database.html#t:GetRec">GetRec</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) er) (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a vr)</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:RecNil" class="def">RecNil</a>  <a href="src/Database-HaskellDB-HDBRec.html#RecNil" class="link">Source</a></p><div class="doc"><p>The empty record.
</p></div><div class="subs instances"><p id="control.i:RecNil" class="caption collapser" onclick="toggleSection('i:RecNil')">Instances</p><div id="section.i:RecNil" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</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/Data-Ord.html#t:Ord">Ord</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</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-Read.html#t:Read">Read</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</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-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:ReadRecRow">ReadRecRow</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:ShowRecRow">ShowRecRow</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:ShowLabels">ShowLabels</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Query.html#t:ToPrimExprs">ToPrimExprs</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Query.html#t:RelToRec">RelToRec</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-FieldType.html#t:ExprTypes">ExprTypes</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Query.html#t:ConstantRecord">ConstantRecord</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Query.html#t:ProjectRec">ProjectRec</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Query.html#t:InsertRec">InsertRec</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Database.html#t:GetRec">GetRec</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:RecCat">RecCat</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a> r r</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:HasField">HasField</a> f r =&gt; <a href="Database-HaskellDB-HDBRec.html#t:HasField">HasField</a> f (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:SetField">SetField</a> f r a =&gt; <a href="Database-HaskellDB-HDBRec.html#t:SetField">SetField</a> f (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r) a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">SelectField f r a =&gt; SelectField f (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r) 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/Data-Eq.html#t:Eq">Eq</a> r =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r)</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/Data-Ord.html#t:Ord">Ord</a> r =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:ReadRecRow">ReadRecRow</a> r =&gt; <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-HDBRec.html#t:Record">Record</a> r)</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> r =&gt; <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-HDBRec.html#t:Record">Record</a> r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:ShowRecRow">ShowRecRow</a> r =&gt; <a href="Database-HaskellDB-HDBRec.html#t:ShowRecRow">ShowRecRow</a> (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:ShowLabels">ShowLabels</a> r =&gt; <a href="Database-HaskellDB-HDBRec.html#t:ShowLabels">ShowLabels</a> (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-FieldType.html#t:ExprTypes">ExprTypes</a> r =&gt; <a href="Database-HaskellDB-FieldType.html#t:ExprTypes">ExprTypes</a> (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-Query.html#t:ConstantRecord">ConstantRecord</a> r cr =&gt; <a href="Database-HaskellDB-Query.html#t:ConstantRecord">ConstantRecord</a> (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r) (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> cr)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-HaskellDB-HDBRec.html#t:RecCat">RecCat</a> r1 r2 r3 =&gt; <a href="Database-HaskellDB-HDBRec.html#t:RecCat">RecCat</a> (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r1) (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r2) (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r3)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">SelectField f r a =&gt; <a href="Database-HaskellDB-HDBRec.html#t:Select">Select</a> (l f a) (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> r) a</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span>  <a name="t:FieldTag" class="def">FieldTag</a> f  <span class="keyword">where</span><a href="src/Database-HaskellDB-HDBRec.html#FieldTag" class="link">Source</a></p><div class="doc"><p>Class for field labels.
</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:fieldName" class="def">fieldName</a> :: f -&gt; <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-HDBRec.html#fieldName" class="link">Source</a></p><div class="doc"><p>Gets the name of the label.
</p></div></div></div><div class="top"><p class="src"><a name="v:hdbMakeEntry" class="def">hdbMakeEntry</a><a href="src/Database-HaskellDB-DBLayout.html#hdbMakeEntry" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> f</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; f</td><td class="doc"><p>Field tag
</p></td></tr><tr><td class="src">-&gt; <a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f (<a href="Database-HaskellDB-DBLayout.html#t:Expr">Expr</a> a) <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Constructs a table entry from a field tag
</p></div></div><div class="top"><p class="src"><a name="v:mkAttr" class="def">mkAttr</a><a href="src/Database-HaskellDB-DBLayout.html#mkAttr" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Database-HaskellDB-DBLayout.html#t:FieldTag">FieldTag</a> f</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; f</td><td class="doc"><p>Field tag
</p></td></tr><tr><td class="src">-&gt; <a href="Database-HaskellDB-DBLayout.html#t:Attr">Attr</a> f a</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Make an <code><a href="Database-HaskellDB-DBLayout.html#t:Attr">Attr</a></code> for a field.
</p></div></div><div class="top"><p class="src"><a name="v:-35-" class="def">(#)</a><a href="src/Database-HaskellDB-HDBRec.html#%23" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> (<a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a>)</td><td class="doc"><p>Field to add
</p></td></tr><tr><td class="src">-&gt; (b -&gt; c)</td><td class="doc"><p>Rest of record
</p></td></tr><tr><td class="src">-&gt; b -&gt; <a href="Database-HaskellDB-DBLayout.html#t:RecCons">RecCons</a> f a c</td><td class="doc"><p>New record
</p></td></tr></table></div><div class="doc"><p>Adds the field from a one-field record to another record.
</p></div></div><div class="top"><p class="src"><a name="v:emptyTable" class="def">emptyTable</a> :: <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -&gt; <a href="Database-HaskellDB-DBLayout.html#t:Table">Table</a> (<a href="Database-HaskellDB-HDBRec.html#t:Record">Record</a> <a href="Database-HaskellDB-DBLayout.html#t:RecNil">RecNil</a>)<a href="src/Database-HaskellDB-Query.html#emptyTable" class="link">Source</a></p><div class="doc"><p>For queries against fake tables, such as
 'information_schema.information_schema_catalog_name'. Useful for
 constructing queries that contain constant data (and do not select
 from columns) but need a table to select from.
</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>