This file is indexed.

/usr/share/doc/libghc-postgresql-simple-doc/html/Database-PostgreSQL-Simple-FromRow.html is in libghc-postgresql-simple-doc 0.4.0.2-1.

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
<!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.PostgreSQL.Simple.FromRow</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-PostgreSQL-Simple-FromRow.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Database-PostgreSQL-Simple-FromRow.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">postgresql-simple-0.4.0.2: Mid-Level PostgreSQL client library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>Leon P Smith &lt;leon@melding-monads.com&gt;</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Database.PostgreSQL.Simple.FromRow</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The <code><a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a></code> typeclass, for converting a row of results
 returned by a SQL query into a more useful Haskell representation.
</p><p>Predefined instances are provided for tuples containing up to ten
 elements.  The instances for <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a></code> types return <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code> if all
 the columns that would have been otherwise consumed are null,  otherwise
 it attempts a regular conversion.
</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">class</span>  <a href="#t:FromRow">FromRow</a> a  <span class="keyword">where</span><ul class="subs"><li><a href="#v:fromRow">fromRow</a> :: <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a> a</li></ul></li><li class="src short"><span class="keyword">data</span>  <a href="#t:RowParser">RowParser</a> a</li><li class="src short"><a href="#v:field">field</a> :: <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a> a</li><li class="src short"><a href="#v:fieldWith">fieldWith</a> ::  <a href="Database-PostgreSQL-Simple-FromField.html#t:FieldParser">FieldParser</a> a -&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a> a</li><li class="src short"><a href="#v:numFieldsRemaining">numFieldsRemaining</a> :: <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span>  <a name="t:FromRow" class="def">FromRow</a> a  <span class="keyword">where</span><a href="src/Database-PostgreSQL-Simple-FromRow.html#FromRow" class="link">Source</a></p><div class="doc"><p>A collection type that can be converted from a sequence of fields.
 Instances are provided for tuples up to 10 elements and lists of any length.
</p><p>Note that instances can be defined outside of postgresql-simple,  which is
 often useful.   For example, here's an instance for a user-defined pair:
</p><pre>data User = User { name :: String, fileQuota :: Int }

instance <code><a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a></code> User where
     fromRow = User &lt;$&gt; <code><a href="Database-PostgreSQL-Simple-FromRow.html#v:field">field</a></code> &lt;*&gt; <code><a href="Database-PostgreSQL-Simple-FromRow.html#v:field">field</a></code>
</pre><p>The number of calls to <code><a href="Database-PostgreSQL-Simple-FromRow.html#v:field">field</a></code> must match the number of fields returned
 in a single row of the query result.  Otherwise,  a <code><a href="Database-PostgreSQL-Simple-FromField.html#v:ConversionFailed">ConversionFailed</a></code>
 exception will be thrown.
</p><p>Note that <code><a href="Database-PostgreSQL-Simple-FromRow.html#v:field">field</a></code> evaluates it's result to WHNF, so the caveats listed in
 mysql-simple and very early versions of postgresql-simple no longer apply.
 Instead, look at the caveats associated with user-defined implementations
 of <code><a href="Database-PostgreSQL-Simple-FromField.html#v:fromField">fromField</a></code>.
</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:fromRow" class="def">fromRow</a> :: <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a> a<a href="src/Database-PostgreSQL-Simple-FromRow.html#fromRow" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:FromRow" class="caption collapser" onclick="toggleSection('i:FromRow')">Instances</p><div id="section.i:FromRow" class="show"><table><tr><td class="src"><a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> [a]</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> [a])</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (a, b))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (a, b, c))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (a, b, c, d))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (a, b, c, d, e))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> f) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (a, b, c, d, e, f))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> f, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> g) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (a, b, c, d, e, f, g))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> f, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> g, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> h) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (a, b, c, d, e, f, g, h))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> f, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> g, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> h, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> i) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (a, b, c, d, e, f, g, h, i))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> f, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> g, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> h, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> i, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> j) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (a, b, c, d, e, f, g, h, i, j))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="/usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Database-PostgreSQL-Simple-Types.html#t:Only">Only</a> a))</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="/usr/share/doc/libghc-vector-doc/html/Data-Vector.html#t:Vector">Vector</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="Database-PostgreSQL-Simple-Types.html#t:Only">Only</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (a, b)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> a, <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> b) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (<a href="Database-PostgreSQL-Simple-Types.html#t::.">:.</a> a b)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (a, b, c)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (a, b, c, d)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (a, b, c, d, e)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> f) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (a, b, c, d, e, f)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> f, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> g) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (a, b, c, d, e, f, g)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> f, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> g, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> h) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (a, b, c, d, e, f, g, h)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> f, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> g, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> h, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> i) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (a, b, c, d, e, f, g, h, i)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> b, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> c, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> d, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> e, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> f, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> g, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> h, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> i, <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> j) =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:FromRow">FromRow</a> (a, b, c, d, e, f, g, h, i, j)</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:RowParser" class="def">RowParser</a> a <a href="src/Database-PostgreSQL-Simple-Internal.html#RowParser" class="link">Source</a></p><div class="subs instances"><p id="control.i:RowParser" class="caption collapser" onclick="toggleSection('i:RowParser')">Instances</p><div id="section.i:RowParser" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a> <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Applicative.html#t:Applicative">Applicative</a> <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Applicative.html#t:Alternative">Alternative</a> <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:field" class="def">field</a> :: <a href="Database-PostgreSQL-Simple-FromField.html#t:FromField">FromField</a> a =&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a> a<a href="src/Database-PostgreSQL-Simple-FromRow.html#field" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:fieldWith" class="def">fieldWith</a> ::  <a href="Database-PostgreSQL-Simple-FromField.html#t:FieldParser">FieldParser</a> a -&gt; <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a> a<a href="src/Database-PostgreSQL-Simple-FromRow.html#fieldWith" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:numFieldsRemaining" class="def">numFieldsRemaining</a> :: <a href="Database-PostgreSQL-Simple-FromRow.html#t:RowParser">RowParser</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a><a href="src/Database-PostgreSQL-Simple-FromRow.html#numFieldsRemaining" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>