Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed the needless Credentials type

  • Loading branch information...
commit a4fa0c5edde8f43df52bf8222ca42efe345c2bc8 1 parent f6ba7f0
@rudyl313 authored
Showing with 52 additions and 70 deletions.
  1. +0 −18 Data/Factual/Credentials.hs
  2. +1 −1  Data/Factual/Query/FacetsQuery.hs
  3. +1 −1  Data/Factual/Query/ReadQuery.hs
  4. +1 −1  Data/Factual/Query/SchemaQuery.hs
  5. +1 −1  Data/Factual/Write/Contribute.hs
  6. +1 −1  Data/Factual/Write/Flag.hs
  7. +7 −5 Network/Factual/API.hs
  8. +0 −11 docs/Data-Factual-Credentials.html
  9. +3 −1 docs/Data-Factual-Query-FacetsQuery.html
  10. +3 −1 docs/Data-Factual-Query-ReadQuery.html
  11. +3 −1 docs/Data-Factual-Query-SchemaQuery.html
  12. +3 −1 docs/Data-Factual-Write-Contribute.html
  13. +3 −1 docs/Data-Factual-Write-Flag.html
  14. +3 −3 docs/Network-Factual-API.html
  15. +1 −1  docs/doc-index.html
  16. +1 −1  docs/index-frames.html
  17. +1 −1  docs/index.html
  18. +0 −5 docs/mini_Data-Factual-Credentials.html
  19. +2 −1  docs/mini_Data-Factual-Query-FacetsQuery.html
  20. +2 −1  docs/mini_Data-Factual-Query-ReadQuery.html
  21. +2 −1  docs/mini_Data-Factual-Query-SchemaQuery.html
  22. +2 −1  docs/mini_Data-Factual-Write-Contribute.html
  23. +2 −1  docs/mini_Data-Factual-Write-Flag.html
  24. +1 −1  examples/CrosswalkExample.hs
  25. +1 −1  examples/FacetsExample.hs
  26. +1 −1  examples/RawReadExample.hs
  27. +1 −1  examples/ReadExample.hs
  28. +1 −1  examples/ResolveExample.hs
  29. +1 −1  examples/SchemaExample.hs
  30. +0 −1  factual-api.cabal
  31. +3 −3 test/Tests.hs
View
18 Data/Factual/Credentials.hs
@@ -1,18 +0,0 @@
--- | This module contains a simple definition of the credentials type which is
--- used to perform submit queries to the Factual API.
-
-module Data.Factual.Credentials
- (
- -- * Credentials type
- Credentials(..)
- , Key
- , Secret
- ) where
-
--- | The Key is the oauth key as a String.
-type Key = String
--- | The Secret is the oauth secret as a String.
-type Secret = String
-
--- | A Credentials value is used to generate a Token.
-data Credentials = Credentials Key Secret
View
2  Data/Factual/Query/FacetsQuery.hs
@@ -3,7 +3,7 @@ module Data.Factual.Query.FacetsQuery
(
-- * FacetsQuery type
FacetsQuery(..)
- -- Required modules
+ -- * Required modules
, module Data.Factual.Shared.Table
, module Data.Factual.Shared.Search
, module Data.Factual.Shared.Filter
View
2  Data/Factual/Query/ReadQuery.hs
@@ -3,7 +3,7 @@ module Data.Factual.Query.ReadQuery
(
-- * ReadQuery type
ReadQuery(..)
- -- Required modules
+ -- * Required modules
, module Data.Factual.Shared.Table
, module Data.Factual.Shared.Search
, module Data.Factual.Shared.Filter
View
2  Data/Factual/Query/SchemaQuery.hs
@@ -3,7 +3,7 @@ module Data.Factual.Query.SchemaQuery
(
-- * SchemaQuery type
SchemaQuery(..)
- -- Required modules
+ -- * Required modules
, module Data.Factual.Shared.Table
) where
View
2  Data/Factual/Write/Contribute.hs
@@ -3,7 +3,7 @@ module Data.Factual.Write.Contribute
(
-- * Contribute type
Contribute(..)
- -- Required modules
+ -- * Required modules
, module Data.Factual.Shared.Table
) where
View
2  Data/Factual/Write/Flag.hs
@@ -5,7 +5,7 @@ module Data.Factual.Write.Flag
Flag(..)
-- * Problem type
, Problem(..)
- -- Required modules
+ -- * Required modules
, module Data.Factual.Shared.Table
) where
View
12 Network/Factual/API.hs
@@ -11,8 +11,6 @@ module Network.Factual.API
, sendWrite
-- * The hoauth Token type
, Token(..)
- -- Required modules
- , module Data.Factual.Credentials
) where
import Data.Maybe (fromJust)
@@ -23,14 +21,18 @@ import Network.OAuth.Http.CurlHttpClient (CurlClient(..))
import Data.Aeson (Value, decode)
import Data.Factual.Query
import Data.Factual.Write
-import Data.Factual.Credentials
import qualified Data.ByteString.Lazy.Char8 as B
import qualified Data.Factual.Response as F
+-- | The Key is the oauth key as a String.
+type Key = String
+-- | The Secret is the oauth secret as a String.
+type Secret = String
+
-- | This function takes a set of credentials and returns an OAuth token that
-- can be used to make requests.
-generateToken :: Credentials -> Token
-generateToken (Credentials key secret) = fromApplication $ Application key secret OOB
+generateToken :: Key -> Secret -> Token
+generateToken key secret = fromApplication $ Application key secret OOB
-- | This function takes an OAuth token and a query (which is member of the
-- Query typeclass) and returns an IO action which will fetch a response from
View
11 docs/Data-Factual-Credentials.html
@@ -1,11 +0,0 @@
-<!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>Data.Factual.Credentials</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_Data-Factual-Credentials.html");};
-//]]>
-</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="module-header"><p class="caption">Data.Factual.Credentials</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Credentials type
-</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module contains a simple definition of the credentials type which is
- used to perform submit queries to the Factual API.
-</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">data</span> <a href="#t:Credentials">Credentials</a> = <a href="#v:Credentials">Credentials</a> <a href="Data-Factual-Credentials.html#t:Key">Key</a> <a href="Data-Factual-Credentials.html#t:Secret">Secret</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Key">Key</a> = String</li><li class="src short"><span class="keyword">type</span> <a href="#t:Secret">Secret</a> = String</li></ul></div><div id="interface"><h1 id="g:1">Credentials type
-</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Credentials" class="def">Credentials</a> </p><div class="doc"><p>A Credentials value is used to generate a Token.
-</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Credentials" class="def">Credentials</a> <a href="Data-Factual-Credentials.html#t:Key">Key</a> <a href="Data-Factual-Credentials.html#t:Secret">Secret</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Key" class="def">Key</a> = String</p><div class="doc"><p>The Key is the oauth key as a String.
-</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Secret" class="def">Secret</a> = String</p><div class="doc"><p>The Secret is the oauth secret as a String.
-</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
View
4 docs/Data-Factual-Query-FacetsQuery.html
@@ -2,9 +2,11 @@
window.onload = function () {pageLoad();setSynopsis("mini_Data-Factual-Query-FacetsQuery.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="module-header"><p class="caption">Data.Factual.Query.FacetsQuery</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">FacetsQuery type
+</a></li><li><a href="#g:2">Required modules
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module exports the types used to create facets queries.
</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">data</span> <a href="#t:FacetsQuery">FacetsQuery</a> = <a href="#v:FacetsQuery">FacetsQuery</a> {<ul class="subs"><li><a href="#v:table">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></li><li><a href="#v:search">search</a> :: <a href="Data-Factual-Shared-Search.html#t:Search">Search</a></li><li><a href="#v:select">select</a> :: [String]</li><li><a href="#v:filters">filters</a> :: [<a href="Data-Factual-Shared-Filter.html#t:Filter">Filter</a>]</li><li><a href="#v:geo">geo</a> :: Maybe <a href="Data-Factual-Shared-Geo.html#t:Geo">Geo</a></li><li><a href="#v:limit">limit</a> :: Maybe Int</li><li><a href="#v:minCount">minCount</a> :: Maybe Int</li><li><a href="#v:includeCount">includeCount</a> :: Bool</li></ul>}</li><li class="src short">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></li><li class="src short">module <a href="Data-Factual-Shared-Search.html">Data.Factual.Shared.Search</a></li><li class="src short">module <a href="Data-Factual-Shared-Filter.html">Data.Factual.Shared.Filter</a></li><li class="src short">module <a href="Data-Factual-Shared-Geo.html">Data.Factual.Shared.Geo</a></li></ul></div><div id="interface"><h1 id="g:1">FacetsQuery type
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FacetsQuery" class="def">FacetsQuery</a> </p><div class="doc"><p>The FacetsQuery type is used to construct facets queries. A table and search
should be specified, but the rest of the query options are essentially
optional.
-</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:FacetsQuery" class="def">FacetsQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:table" class="def">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:search" class="def">search</a> :: <a href="Data-Factual-Shared-Search.html#t:Search">Search</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:select" class="def">select</a> :: [String]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:filters" class="def">filters</a> :: [<a href="Data-Factual-Shared-Filter.html#t:Filter">Filter</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:geo" class="def">geo</a> :: Maybe <a href="Data-Factual-Shared-Geo.html#t:Geo">Geo</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:limit" class="def">limit</a> :: Maybe Int</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:minCount" class="def">minCount</a> :: Maybe Int</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:includeCount" class="def">includeCount</a> :: Bool</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:FacetsQuery" class="caption collapser" onclick="toggleSection('i:FacetsQuery')">Instances</p><div id="section.i:FacetsQuery" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Query-FacetsQuery.html#t:FacetsQuery">FacetsQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Query-FacetsQuery.html#t:FacetsQuery">FacetsQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Data-Factual-Query.html#t:Query">Query</a> <a href="Data-Factual-Query-FacetsQuery.html#t:FacetsQuery">FacetsQuery</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Search.html">Data.Factual.Shared.Search</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Filter.html">Data.Factual.Shared.Filter</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Geo.html">Data.Factual.Shared.Geo</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
+</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:FacetsQuery" class="def">FacetsQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:table" class="def">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:search" class="def">search</a> :: <a href="Data-Factual-Shared-Search.html#t:Search">Search</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:select" class="def">select</a> :: [String]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:filters" class="def">filters</a> :: [<a href="Data-Factual-Shared-Filter.html#t:Filter">Filter</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:geo" class="def">geo</a> :: Maybe <a href="Data-Factual-Shared-Geo.html#t:Geo">Geo</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:limit" class="def">limit</a> :: Maybe Int</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:minCount" class="def">minCount</a> :: Maybe Int</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:includeCount" class="def">includeCount</a> :: Bool</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:FacetsQuery" class="caption collapser" onclick="toggleSection('i:FacetsQuery')">Instances</p><div id="section.i:FacetsQuery" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Query-FacetsQuery.html#t:FacetsQuery">FacetsQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Query-FacetsQuery.html#t:FacetsQuery">FacetsQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Data-Factual-Query.html#t:Query">Query</a> <a href="Data-Factual-Query-FacetsQuery.html#t:FacetsQuery">FacetsQuery</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:2">Required modules
+</h1><div class="top"><p class="src">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Search.html">Data.Factual.Shared.Search</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Filter.html">Data.Factual.Shared.Filter</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Geo.html">Data.Factual.Shared.Geo</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
View
4 docs/Data-Factual-Query-ReadQuery.html
@@ -2,6 +2,7 @@
window.onload = function () {pageLoad();setSynopsis("mini_Data-Factual-Query-ReadQuery.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="module-header"><p class="caption">Data.Factual.Query.ReadQuery</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">ReadQuery type
+</a></li><li><a href="#g:2">Required modules
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module exports the types used to create read queries.
</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">data</span> <a href="#t:ReadQuery">ReadQuery</a> = <a href="#v:ReadQuery">ReadQuery</a> {<ul class="subs"><li><a href="#v:table">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></li><li><a href="#v:search">search</a> :: <a href="Data-Factual-Shared-Search.html#t:Search">Search</a></li><li><a href="#v:select">select</a> :: [String]</li><li><a href="#v:limit">limit</a> :: Maybe Int</li><li><a href="#v:offset">offset</a> :: Maybe Int</li><li><a href="#v:filters">filters</a> :: [<a href="Data-Factual-Shared-Filter.html#t:Filter">Filter</a>]</li><li><a href="#v:geo">geo</a> :: Maybe <a href="Data-Factual-Shared-Geo.html#t:Geo">Geo</a></li><li><a href="#v:includeCount">includeCount</a> :: Bool</li></ul>}</li><li class="src short">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></li><li class="src short">module <a href="Data-Factual-Shared-Search.html">Data.Factual.Shared.Search</a></li><li class="src short">module <a href="Data-Factual-Shared-Filter.html">Data.Factual.Shared.Filter</a></li><li class="src short">module <a href="Data-Factual-Shared-Geo.html">Data.Factual.Shared.Geo</a></li></ul></div><div id="interface"><h1 id="g:1">ReadQuery type
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:ReadQuery" class="def">ReadQuery</a> </p><div class="doc"><p>The ReadQuery type is used to construct read queries. A table should be
@@ -10,4 +11,5 @@
a list of field names to include in the results. The limit and offset are
used to request a specific range of rows and includeCount will include the
count of returned rows if it is set to True.
-</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ReadQuery" class="def">ReadQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:table" class="def">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:search" class="def">search</a> :: <a href="Data-Factual-Shared-Search.html#t:Search">Search</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:select" class="def">select</a> :: [String]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:limit" class="def">limit</a> :: Maybe Int</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:offset" class="def">offset</a> :: Maybe Int</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:filters" class="def">filters</a> :: [<a href="Data-Factual-Shared-Filter.html#t:Filter">Filter</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:geo" class="def">geo</a> :: Maybe <a href="Data-Factual-Shared-Geo.html#t:Geo">Geo</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:includeCount" class="def">includeCount</a> :: Bool</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:ReadQuery" class="caption collapser" onclick="toggleSection('i:ReadQuery')">Instances</p><div id="section.i:ReadQuery" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Query-ReadQuery.html#t:ReadQuery">ReadQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Query-ReadQuery.html#t:ReadQuery">ReadQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Data-Factual-Query.html#t:Query">Query</a> <a href="Data-Factual-Query-ReadQuery.html#t:ReadQuery">ReadQuery</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Search.html">Data.Factual.Shared.Search</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Filter.html">Data.Factual.Shared.Filter</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Geo.html">Data.Factual.Shared.Geo</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
+</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ReadQuery" class="def">ReadQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:table" class="def">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:search" class="def">search</a> :: <a href="Data-Factual-Shared-Search.html#t:Search">Search</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:select" class="def">select</a> :: [String]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:limit" class="def">limit</a> :: Maybe Int</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:offset" class="def">offset</a> :: Maybe Int</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:filters" class="def">filters</a> :: [<a href="Data-Factual-Shared-Filter.html#t:Filter">Filter</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:geo" class="def">geo</a> :: Maybe <a href="Data-Factual-Shared-Geo.html#t:Geo">Geo</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:includeCount" class="def">includeCount</a> :: Bool</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:ReadQuery" class="caption collapser" onclick="toggleSection('i:ReadQuery')">Instances</p><div id="section.i:ReadQuery" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Query-ReadQuery.html#t:ReadQuery">ReadQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Query-ReadQuery.html#t:ReadQuery">ReadQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Data-Factual-Query.html#t:Query">Query</a> <a href="Data-Factual-Query-ReadQuery.html#t:ReadQuery">ReadQuery</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:2">Required modules
+</h1><div class="top"><p class="src">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Search.html">Data.Factual.Shared.Search</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Filter.html">Data.Factual.Shared.Filter</a></p></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Geo.html">Data.Factual.Shared.Geo</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
View
4 docs/Data-Factual-Query-SchemaQuery.html
@@ -2,8 +2,10 @@
window.onload = function () {pageLoad();setSynopsis("mini_Data-Factual-Query-SchemaQuery.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="module-header"><p class="caption">Data.Factual.Query.SchemaQuery</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">SchemaQuery type
+</a></li><li><a href="#g:2">Required modules
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module exports the type used to create schema queries.
</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">data</span> <a href="#t:SchemaQuery">SchemaQuery</a> = <a href="#v:SchemaQuery">SchemaQuery</a> <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></li><li class="src short">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></li></ul></div><div id="interface"><h1 id="g:1">SchemaQuery type
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:SchemaQuery" class="def">SchemaQuery</a> </p><div class="doc"><p>A schema query is formed by simply supplying a Table to the value
constructor.
-</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:SchemaQuery" class="def">SchemaQuery</a> <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:SchemaQuery" class="caption collapser" onclick="toggleSection('i:SchemaQuery')">Instances</p><div id="section.i:SchemaQuery" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Query-SchemaQuery.html#t:SchemaQuery">SchemaQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Query-SchemaQuery.html#t:SchemaQuery">SchemaQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Data-Factual-Query.html#t:Query">Query</a> <a href="Data-Factual-Query-SchemaQuery.html#t:SchemaQuery">SchemaQuery</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
+</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:SchemaQuery" class="def">SchemaQuery</a> <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:SchemaQuery" class="caption collapser" onclick="toggleSection('i:SchemaQuery')">Instances</p><div id="section.i:SchemaQuery" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Query-SchemaQuery.html#t:SchemaQuery">SchemaQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Query-SchemaQuery.html#t:SchemaQuery">SchemaQuery</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Data-Factual-Query.html#t:Query">Query</a> <a href="Data-Factual-Query-SchemaQuery.html#t:SchemaQuery">SchemaQuery</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:2">Required modules
+</h1><div class="top"><p class="src">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
View
4 docs/Data-Factual-Write-Contribute.html
@@ -2,10 +2,12 @@
window.onload = function () {pageLoad();setSynopsis("mini_Data-Factual-Write-Contribute.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="module-header"><p class="caption">Data.Factual.Write.Contribute</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Contribute type
+</a></li><li><a href="#g:2">Required modules
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module exports the types used to create contributions.
</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">data</span> <a href="#t:Contribute">Contribute</a> = <a href="#v:Contribute">Contribute</a> {<ul class="subs"><li><a href="#v:table">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></li><li><a href="#v:user">user</a> :: String</li><li><a href="#v:factualId">factualId</a> :: Maybe String</li><li><a href="#v:values">values</a> :: Map String String</li></ul>}</li><li class="src short">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></li></ul></div><div id="interface"><h1 id="g:1">Contribute type
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Contribute" class="def">Contribute</a> </p><div class="doc"><p>The Contribute type represents a Write to the API which performs an upsert
(a row can be updated or a new row can be written). The table and user
must be specified, while the factual ID is optional (omitted for new
rows). Finally the values are specified in a String to String Map.
-</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Contribute" class="def">Contribute</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:table" class="def">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:user" class="def">user</a> :: String</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:factualId" class="def">factualId</a> :: Maybe String</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:values" class="def">values</a> :: Map String String</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Contribute" class="caption collapser" onclick="toggleSection('i:Contribute')">Instances</p><div id="section.i:Contribute" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Write-Contribute.html#t:Contribute">Contribute</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Write-Contribute.html#t:Contribute">Contribute</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Data-Factual-Write.html#t:Write">Write</a> <a href="Data-Factual-Write-Contribute.html#t:Contribute">Contribute</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
+</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Contribute" class="def">Contribute</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:table" class="def">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:user" class="def">user</a> :: String</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:factualId" class="def">factualId</a> :: Maybe String</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:values" class="def">values</a> :: Map String String</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Contribute" class="caption collapser" onclick="toggleSection('i:Contribute')">Instances</p><div id="section.i:Contribute" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Write-Contribute.html#t:Contribute">Contribute</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Write-Contribute.html#t:Contribute">Contribute</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Data-Factual-Write.html#t:Write">Write</a> <a href="Data-Factual-Write-Contribute.html#t:Contribute">Contribute</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:2">Required modules
+</h1><div class="top"><p class="src">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
View
4 docs/Data-Factual-Write-Flag.html
@@ -3,6 +3,7 @@
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="module-header"><p class="caption">Data.Factual.Write.Flag</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Flag type
</a></li><li><a href="#g:2">Problem type
+</a></li><li><a href="#g:3">Required modules
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module exports the types used to create flag writes.
</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">data</span> <a href="#t:Flag">Flag</a> = <a href="#v:Flag">Flag</a> {<ul class="subs"><li><a href="#v:table">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></li><li><a href="#v:factualId">factualId</a> :: String</li><li><a href="#v:problem">problem</a> :: <a href="Data-Factual-Write-Flag.html#t:Problem">Problem</a></li><li><a href="#v:user">user</a> :: String</li><li><a href="#v:comment">comment</a> :: Maybe String</li><li><a href="#v:debug">debug</a> :: Bool</li><li><a href="#v:reference">reference</a> :: Maybe String</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Problem">Problem</a> <ul class="subs"><li>= <a href="#v:Duplicate">Duplicate</a> </li><li>| <a href="#v:Nonexistent">Nonexistent</a> </li><li>| <a href="#v:Inaccurate">Inaccurate</a> </li><li>| <a href="#v:Inappropriate">Inappropriate</a> </li><li>| <a href="#v:Spam">Spam</a> </li><li>| <a href="#v:Other">Other</a> </li></ul></li><li class="src short">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></li></ul></div><div id="interface"><h1 id="g:1">Flag type
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Flag" class="def">Flag</a> </p><div class="doc"><p>The Flag type represents a Write to be made to the API which flags a
@@ -12,4 +13,5 @@
reference are optional. The debug flag is used to write in debug mode.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Flag" class="def">Flag</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:table" class="def">table</a> :: <a href="Data-Factual-Shared-Table.html#t:Table">Table</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:factualId" class="def">factualId</a> :: String</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:problem" class="def">problem</a> :: <a href="Data-Factual-Write-Flag.html#t:Problem">Problem</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:user" class="def">user</a> :: String</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:comment" class="def">comment</a> :: Maybe String</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:debug" class="def">debug</a> :: Bool</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:reference" class="def">reference</a> :: Maybe String</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Flag" class="caption collapser" onclick="toggleSection('i:Flag')">Instances</p><div id="section.i:Flag" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Write-Flag.html#t:Flag">Flag</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Write-Flag.html#t:Flag">Flag</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Data-Factual-Write.html#t:Write">Write</a> <a href="Data-Factual-Write-Flag.html#t:Flag">Flag</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:2">Problem type
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Problem" class="def">Problem</a> </p><div class="doc"><p>A Problem represents what is wrong with the row being flagged
-</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Duplicate" class="def">Duplicate</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Nonexistent" class="def">Nonexistent</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Inaccurate" class="def">Inaccurate</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Inappropriate" class="def">Inappropriate</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Spam" class="def">Spam</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Other" class="def">Other</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Problem" class="caption collapser" onclick="toggleSection('i:Problem')">Instances</p><div id="section.i:Problem" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Write-Flag.html#t:Problem">Problem</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Write-Flag.html#t:Problem">Problem</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
+</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Duplicate" class="def">Duplicate</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Nonexistent" class="def">Nonexistent</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Inaccurate" class="def">Inaccurate</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Inappropriate" class="def">Inappropriate</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Spam" class="def">Spam</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Other" class="def">Other</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Problem" class="caption collapser" onclick="toggleSection('i:Problem')">Instances</p><div id="section.i:Problem" class="show"><table><tr><td class="src">Eq <a href="Data-Factual-Write-Flag.html#t:Problem">Problem</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Show <a href="Data-Factual-Write-Flag.html#t:Problem">Problem</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:3">Required modules
+</h1><div class="top"><p class="src">module <a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
View
6 docs/Network-Factual-API.html
@@ -7,8 +7,8 @@
</a></li><li><a href="#g:4">The hoauth Token type
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module exports functions which are used to execute queries and handle
the OAuth authentication process.
-</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"><a href="#v:generateToken">generateToken</a> :: <a href="Data-Factual-Credentials.html#t:Credentials">Credentials</a> -&gt; <a href="Network-Factual-API.html#t:Token">Token</a></li><li class="src short"><a href="#v:makeRequest">makeRequest</a> :: <a href="Data-Factual-Query.html#t:Query">Query</a> query =&gt; <a href="Network-Factual-API.html#t:Token">Token</a> -&gt; query -&gt; IO <a href="Data-Factual-Response.html#t:Response">Response</a></li><li class="src short"><a href="#v:makeRawRequest">makeRawRequest</a> :: <a href="Network-Factual-API.html#t:Token">Token</a> -&gt; String -&gt; IO <a href="Data-Factual-Response.html#t:Response">Response</a></li><li class="src short"><a href="#v:sendWrite">sendWrite</a> :: <a href="Data-Factual-Write.html#t:Write">Write</a> write =&gt; <a href="Network-Factual-API.html#t:Token">Token</a> -&gt; write -&gt; IO <a href="Data-Factual-Response.html#t:Response">Response</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Token">Token</a> <ul class="subs"><li>= <a href="#v:TwoLegg">TwoLegg</a> { <ul class="subs"><li><a href="#v:application">application</a> :: Application</li><li><a href="#v:oauthParams">oauthParams</a> :: FieldList</li></ul> }</li><li>| <a href="#v:ReqToken">ReqToken</a> { <ul class="subs"><li><a href="#v:application">application</a> :: Application</li><li><a href="#v:oauthParams">oauthParams</a> :: FieldList</li></ul> }</li><li>| <a href="#v:AccessToken">AccessToken</a> { <ul class="subs"><li><a href="#v:application">application</a> :: Application</li><li><a href="#v:oauthParams">oauthParams</a> :: FieldList</li></ul> }</li></ul></li><li class="src short">module <a href="Data-Factual-Credentials.html">Data.Factual.Credentials</a></li></ul></div><div id="interface"><h1 id="g:1">Authentication
-</h1><div class="top"><p class="src"><a name="v:generateToken" class="def">generateToken</a> :: <a href="Data-Factual-Credentials.html#t:Credentials">Credentials</a> -&gt; <a href="Network-Factual-API.html#t:Token">Token</a></p><div class="doc"><p>This function takes a set of credentials and returns an OAuth token that
+</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"><a href="#v:generateToken">generateToken</a> :: Key -&gt; Secret -&gt; <a href="Network-Factual-API.html#t:Token">Token</a></li><li class="src short"><a href="#v:makeRequest">makeRequest</a> :: <a href="Data-Factual-Query.html#t:Query">Query</a> query =&gt; <a href="Network-Factual-API.html#t:Token">Token</a> -&gt; query -&gt; IO <a href="Data-Factual-Response.html#t:Response">Response</a></li><li class="src short"><a href="#v:makeRawRequest">makeRawRequest</a> :: <a href="Network-Factual-API.html#t:Token">Token</a> -&gt; String -&gt; IO <a href="Data-Factual-Response.html#t:Response">Response</a></li><li class="src short"><a href="#v:sendWrite">sendWrite</a> :: <a href="Data-Factual-Write.html#t:Write">Write</a> write =&gt; <a href="Network-Factual-API.html#t:Token">Token</a> -&gt; write -&gt; IO <a href="Data-Factual-Response.html#t:Response">Response</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Token">Token</a> <ul class="subs"><li>= <a href="#v:TwoLegg">TwoLegg</a> { <ul class="subs"><li><a href="#v:application">application</a> :: Application</li><li><a href="#v:oauthParams">oauthParams</a> :: FieldList</li></ul> }</li><li>| <a href="#v:ReqToken">ReqToken</a> { <ul class="subs"><li><a href="#v:application">application</a> :: Application</li><li><a href="#v:oauthParams">oauthParams</a> :: FieldList</li></ul> }</li><li>| <a href="#v:AccessToken">AccessToken</a> { <ul class="subs"><li><a href="#v:application">application</a> :: Application</li><li><a href="#v:oauthParams">oauthParams</a> :: FieldList</li></ul> }</li></ul></li></ul></div><div id="interface"><h1 id="g:1">Authentication
+</h1><div class="top"><p class="src"><a name="v:generateToken" class="def">generateToken</a> :: Key -&gt; Secret -&gt; <a href="Network-Factual-API.html#t:Token">Token</a></p><div class="doc"><p>This function takes a set of credentials and returns an OAuth token that
can be used to make requests.
</p></div></div><h1 id="g:2">Read functions
</h1><div class="top"><p class="src"><a name="v:makeRequest" class="def">makeRequest</a> :: <a href="Data-Factual-Query.html#t:Query">Query</a> query =&gt; <a href="Network-Factual-API.html#t:Token">Token</a> -&gt; query -&gt; IO <a href="Data-Factual-Response.html#t:Response">Response</a></p><div class="doc"><p>This function takes an OAuth token and a query (which is member of the
@@ -20,4 +20,4 @@
</h1><div class="top"><p class="src"><a name="v:sendWrite" class="def">sendWrite</a> :: <a href="Data-Factual-Write.html#t:Write">Write</a> write =&gt; <a href="Network-Factual-API.html#t:Token">Token</a> -&gt; write -&gt; IO <a href="Data-Factual-Response.html#t:Response">Response</a></p><div class="doc"><p>This function takes an OAuth token and a Write and retunrs and IO action
which sends the Write to API and returns a Response.
</p></div></div><h1 id="g:4">The hoauth Token type
-</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Token" class="def">Token</a> </p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:TwoLegg" class="def">TwoLegg</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:application" class="def">application</a> :: Application</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:oauthParams" class="def">oauthParams</a> :: FieldList</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:ReqToken" class="def">ReqToken</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:application" class="def">application</a> :: Application</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:oauthParams" class="def">oauthParams</a> :: FieldList</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:AccessToken" class="def">AccessToken</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:application" class="def">application</a> :: Application</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:oauthParams" class="def">oauthParams</a> :: FieldList</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Token" class="caption collapser" onclick="toggleSection('i:Token')">Instances</p><div id="section.i:Token" class="show"><table><tr><td class="src">Eq <a href="Network-Factual-API.html#t:Token">Token</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Binary <a href="Network-Factual-API.html#t:Token">Token</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src">module <a href="Data-Factual-Credentials.html">Data.Factual.Credentials</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
+</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Token" class="def">Token</a> </p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:TwoLegg" class="def">TwoLegg</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:application" class="def">application</a> :: Application</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:oauthParams" class="def">oauthParams</a> :: FieldList</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:ReqToken" class="def">ReqToken</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:application" class="def">application</a> :: Application</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:oauthParams" class="def">oauthParams</a> :: FieldList</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:AccessToken" class="def">AccessToken</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:application" class="def">application</a> :: Application</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:oauthParams" class="def">oauthParams</a> :: FieldList</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Token" class="caption collapser" onclick="toggleSection('i:Token')">Instances</p><div id="section.i:Token" class="show"><table><tr><td class="src">Eq <a href="Network-Factual-API.html#t:Token">Token</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Binary <a href="Network-Factual-API.html#t:Token">Token</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
View
2  docs/doc-index.html
@@ -1,4 +1,4 @@
<!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> (Index)</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();};
//]]>
-</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="index"><p class="caption">Index</p><table><tr><td class="src">AccessToken</td><td class="module"><a href="Network-Factual-API.html#v:AccessToken">Network.Factual.API</a></td></tr><tr><td class="src">And</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:And">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">AndSearch</td><td class="module"><a href="Data-Factual-Shared-Search.html#v:AndSearch">Data.Factual.Shared.Search</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">application</td><td class="module"><a href="Network-Factual-API.html#v:application">Network.Factual.API</a></td></tr><tr><td class="src">BeginsWith</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:BeginsWith">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">BeginsWithAny</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:BeginsWithAny">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">body</td><td class="module"><a href="Data-Factual-Write.html#v:body">Data.Factual.Write</a></td></tr><tr><td class="src">Circle</td><td class="module"><a href="Data-Factual-Shared-Geo.html#v:Circle">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">comment</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:comment">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">Contribute</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Write-Contribute.html#t:Contribute">Data.Factual.Write.Contribute</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Write-Contribute.html#v:Contribute">Data.Factual.Write.Contribute</a></td></tr><tr><td class="src">Credentials</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Credentials.html#t:Credentials">Data.Factual.Credentials</a>, Network.Factual.API</td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Credentials.html#v:Credentials">Data.Factual.Credentials</a>, Network.Factual.API</td></tr><tr><td class="src">CrosswalkQuery</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#t:CrosswalkQuery">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:CrosswalkQuery">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="src">Custom</td><td class="module"><a href="Data-Factual-Shared-Table.html#v:Custom">Data.Factual.Shared.Table</a>, Data.Factual.Write.Contribute, Data.Factual.Write.Flag, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery, Data.Factual.Query.SchemaQuery</td></tr><tr><td class="src">debug</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:debug">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">Duplicate</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Duplicate">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">EqualNum</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:EqualNum">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">EqualStr</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:EqualStr">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">FacetsQuery</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#t:FacetsQuery">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:FacetsQuery">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="src">factualId</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Write-Contribute.html#v:factualId">Data.Factual.Write.Contribute</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:factualId">Data.Factual.Write.Flag</a></td></tr><tr><td class="alt">3 (Function)</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:factualId">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="src">Field</td><td class="module"><a href="Data-Factual-Shared-Filter.html#t:Field">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">Filter</td><td class="module"><a href="Data-Factual-Shared-Filter.html#t:Filter">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">filters</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:filters">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:filters">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">filtersString</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:filtersString">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">Flag</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Write-Flag.html#t:Flag">Data.Factual.Write.Flag</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Flag">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">fromValue</td><td class="module"><a href="Data-Factual-Response.html#v:fromValue">Data.Factual.Response</a></td></tr><tr><td class="src">generateToken</td><td class="module"><a href="Network-Factual-API.html#v:generateToken">Network.Factual.API</a></td></tr><tr><td class="src">Geo</td><td class="module"><a href="Data-Factual-Shared-Geo.html#t:Geo">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">geo</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:geo">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:geo">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">geoString</td><td class="module"><a href="Data-Factual-Shared-Geo.html#v:geoString">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">Global</td><td class="module"><a href="Data-Factual-Shared-Table.html#v:Global">Data.Factual.Shared.Table</a>, Data.Factual.Write.Contribute, Data.Factual.Write.Flag, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery, Data.Factual.Query.SchemaQuery</td></tr><tr><td class="src">Inaccurate</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Inaccurate">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">Inappropriate</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Inappropriate">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">includeCount</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:includeCount">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:includeCount">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">includeCountString</td><td class="module"><a href="Data-Factual-Utils.html#v:includeCountString">Data.Factual.Utils</a></td></tr><tr><td class="src">InNumList</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:InNumList">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">InStrList</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:InStrList">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">IsBlank</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:IsBlank">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">IsNotBlank</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:IsNotBlank">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">join</td><td class="module"><a href="Data-Factual-Utils.html#v:join">Data.Factual.Utils</a></td></tr><tr><td class="src">joinAndFilter</td><td class="module"><a href="Data-Factual-Utils.html#v:joinAndFilter">Data.Factual.Utils</a></td></tr><tr><td class="src">Key</td><td class="module"><a href="Data-Factual-Credentials.html#t:Key">Data.Factual.Credentials</a>, Network.Factual.API</td></tr><tr><td class="src">Lat</td><td class="module"><a href="Data-Factual-Shared-Geo.html#t:Lat">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">limit</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:limit">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:limit">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">3 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:limit">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">limitString</td><td class="module"><a href="Data-Factual-Utils.html#v:limitString">Data.Factual.Utils</a></td></tr><tr><td class="src">Long</td><td class="module"><a href="Data-Factual-Shared-Geo.html#t:Long">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">lookupNumber</td><td class="module"><a href="Data-Factual-Response.html#v:lookupNumber">Data.Factual.Response</a></td></tr><tr><td class="src">lookupString</td><td class="module"><a href="Data-Factual-Response.html#v:lookupString">Data.Factual.Response</a></td></tr><tr><td class="src">lookupValue</td><td class="module"><a href="Data-Factual-Response.html#v:lookupValue">Data.Factual.Response</a></td></tr><tr><td class="src">lookupValueSafe</td><td class="module"><a href="Data-Factual-Response.html#v:lookupValueSafe">Data.Factual.Response</a></td></tr><tr><td class="src">makeRawRequest</td><td class="module"><a href="Network-Factual-API.html#v:makeRawRequest">Network.Factual.API</a></td></tr><tr><td class="src">makeRequest</td><td class="module"><a href="Network-Factual-API.html#v:makeRequest">Network.Factual.API</a></td></tr><tr><td class="src">minCount</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:minCount">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="src">namespace</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:namespace">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="src">namespaceId</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:namespaceId">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="src">Nonexistent</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Nonexistent">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">NoSearch</td><td class="module"><a href="Data-Factual-Shared-Search.html#v:NoSearch">Data.Factual.Shared.Search</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotBeginsWith</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotBeginsWith">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotBeginsWithAny</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotBeginsWithAny">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotEqualNum</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotEqualNum">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotEqualStr</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotEqualStr">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotInNumList</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotInNumList">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotInStrList</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotInStrList">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">oauthParams</td><td class="module"><a href="Network-Factual-API.html#v:oauthParams">Network.Factual.API</a></td></tr><tr><td class="src">offset</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:offset">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">only</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:only">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="src">Or</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:Or">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">OrSearch</td><td class="module"><a href="Data-Factual-Shared-Search.html#v:OrSearch">Data.Factual.Shared.Search</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">Other</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Other">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">path</td><td class="module"><a href="Data-Factual-Write.html#v:path">Data.Factual.Write</a></td></tr><tr><td class="src">Places</td><td class="module"><a href="Data-Factual-Shared-Table.html#v:Places">Data.Factual.Shared.Table</a>, Data.Factual.Write.Contribute, Data.Factual.Write.Flag, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery, Data.Factual.Query.SchemaQuery</td></tr><tr><td class="src">Problem</td><td class="module"><a href="Data-Factual-Write-Flag.html#t:Problem">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">problem</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:problem">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">Query</td><td class="module"><a href="Data-Factual-Query.html#t:Query">Data.Factual.Query</a></td></tr><tr><td class="src">Radius</td><td class="module"><a href="Data-Factual-Shared-Geo.html#t:Radius">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">ReadQuery</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#t:ReadQuery">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:ReadQuery">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">reference</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:reference">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">ReqToken</td><td class="module"><a href="Network-Factual-API.html#v:ReqToken">Network.Factual.API</a></td></tr><tr><td class="src">ResolveNum</td><td class="module"><a href="Data-Factual-Query-ResolveQuery.html#v:ResolveNum">Data.Factual.Query.ResolveQuery</a></td></tr><tr><td class="src">ResolveQuery</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Query-ResolveQuery.html#t:ResolveQuery">Data.Factual.Query.ResolveQuery</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Query-ResolveQuery.html#v:ResolveQuery">Data.Factual.Query.ResolveQuery</a></td></tr><tr><td class="src">ResolveStr</td><td class="module"><a href="Data-Factual-Query-ResolveQuery.html#v:ResolveStr">Data.Factual.Query.ResolveQuery</a></td></tr><tr><td class="src">ResolveValue</td><td class="module"><a href="Data-Factual-Query-ResolveQuery.html#t:ResolveValue">Data.Factual.Query.ResolveQuery</a></td></tr><tr><td class="src">Response</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Response.html#t:Response">Data.Factual.Response</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Response.html#v:Response">Data.Factual.Response</a></td></tr><tr><td class="src">response</td><td class="module"><a href="Data-Factual-Response.html#v:response">Data.Factual.Response</a></td></tr><tr><td class="src">SchemaQuery</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Query-SchemaQuery.html#t:SchemaQuery">Data.Factual.Query.SchemaQuery</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Query-SchemaQuery.html#v:SchemaQuery">Data.Factual.Query.SchemaQuery</a></td></tr><tr><td class="src">Search</td><td class="module"><a href="Data-Factual-Shared-Search.html#t:Search">Data.Factual.Shared.Search</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">search</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:search">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:search">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">searchString</td><td class="module"><a href="Data-Factual-Shared-Search.html#v:searchString">Data.Factual.Shared.Search</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">Secret</td><td class="module"><a href="Data-Factual-Credentials.html#t:Secret">Data.Factual.Credentials</a>, Network.Factual.API</td></tr><tr><td class="src">select</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:select">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:select">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">selectString</td><td class="module"><a href="Data-Factual-Utils.html#v:selectString">Data.Factual.Utils</a></td></tr><tr><td class="src">sendWrite</td><td class="module"><a href="Network-Factual-API.html#v:sendWrite">Network.Factual.API</a></td></tr><tr><td class="src">Spam</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Spam">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">status</td><td class="module"><a href="Data-Factual-Response.html#v:status">Data.Factual.Response</a></td></tr><tr><td class="src">Table</td><td class="module"><a href="Data-Factual-Shared-Table.html#t:Table">Data.Factual.Shared.Table</a>, Data.Factual.Write.Contribute, Data.Factual.Write.Flag, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery, Data.Factual.Query.SchemaQuery</td></tr><tr><td class="src">table</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Write-Contribute.html#v:table">Data.Factual.Write.Contribute</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:table">Data.Factual.Write.Flag</a></td></tr><tr><td class="alt">3 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:table">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">4 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:table">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">Token</td><td class="module"><a href="Network-Factual-API.html#t:Token">Network.Factual.API</a></td></tr><tr><td class="src">toList</td><td class="module"><a href="Data-Factual-Response.html#v:toList">Data.Factual.Response</a></td></tr><tr><td class="src">toPath</td><td class="module"><a href="Data-Factual-Query.html#v:toPath">Data.Factual.Query</a></td></tr><tr><td class="src">TwoLegg</td><td class="module"><a href="Network-Factual-API.html#v:TwoLegg">Network.Factual.API</a></td></tr><tr><td class="src">user</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Write-Contribute.html#v:user">Data.Factual.Write.Contribute</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:user">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">USRestaurants</td><td class="module"><a href="Data-Factual-Shared-Table.html#v:USRestaurants">Data.Factual.Shared.Table</a>, Data.Factual.Write.Contribute, Data.Factual.Write.Flag, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery, Data.Factual.Query.SchemaQuery</td></tr><tr><td class="src">Value</td><td class="module"><a href="Data-Factual-Response.html#t:Value">Data.Factual.Response</a></td></tr><tr><td class="src">values</td><td class="module"><a href="Data-Factual-Write-Contribute.html#v:values">Data.Factual.Write.Contribute</a></td></tr><tr><td class="src">version</td><td class="module"><a href="Data-Factual-Response.html#v:version">Data.Factual.Response</a></td></tr><tr><td class="src">Write</td><td class="module"><a href="Data-Factual-Write.html#t:Write">Data.Factual.Write</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
+</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="index"><p class="caption">Index</p><table><tr><td class="src">AccessToken</td><td class="module"><a href="Network-Factual-API.html#v:AccessToken">Network.Factual.API</a></td></tr><tr><td class="src">And</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:And">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">AndSearch</td><td class="module"><a href="Data-Factual-Shared-Search.html#v:AndSearch">Data.Factual.Shared.Search</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">application</td><td class="module"><a href="Network-Factual-API.html#v:application">Network.Factual.API</a></td></tr><tr><td class="src">BeginsWith</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:BeginsWith">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">BeginsWithAny</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:BeginsWithAny">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">body</td><td class="module"><a href="Data-Factual-Write.html#v:body">Data.Factual.Write</a></td></tr><tr><td class="src">Circle</td><td class="module"><a href="Data-Factual-Shared-Geo.html#v:Circle">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">comment</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:comment">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">Contribute</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Write-Contribute.html#t:Contribute">Data.Factual.Write.Contribute</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Write-Contribute.html#v:Contribute">Data.Factual.Write.Contribute</a></td></tr><tr><td class="src">CrosswalkQuery</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#t:CrosswalkQuery">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:CrosswalkQuery">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="src">Custom</td><td class="module"><a href="Data-Factual-Shared-Table.html#v:Custom">Data.Factual.Shared.Table</a>, Data.Factual.Write.Contribute, Data.Factual.Write.Flag, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery, Data.Factual.Query.SchemaQuery</td></tr><tr><td class="src">debug</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:debug">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">Duplicate</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Duplicate">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">EqualNum</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:EqualNum">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">EqualStr</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:EqualStr">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">FacetsQuery</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#t:FacetsQuery">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:FacetsQuery">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="src">factualId</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Write-Contribute.html#v:factualId">Data.Factual.Write.Contribute</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:factualId">Data.Factual.Write.Flag</a></td></tr><tr><td class="alt">3 (Function)</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:factualId">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="src">Field</td><td class="module"><a href="Data-Factual-Shared-Filter.html#t:Field">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">Filter</td><td class="module"><a href="Data-Factual-Shared-Filter.html#t:Filter">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">filters</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:filters">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:filters">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">filtersString</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:filtersString">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">Flag</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Write-Flag.html#t:Flag">Data.Factual.Write.Flag</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Flag">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">fromValue</td><td class="module"><a href="Data-Factual-Response.html#v:fromValue">Data.Factual.Response</a></td></tr><tr><td class="src">generateToken</td><td class="module"><a href="Network-Factual-API.html#v:generateToken">Network.Factual.API</a></td></tr><tr><td class="src">Geo</td><td class="module"><a href="Data-Factual-Shared-Geo.html#t:Geo">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">geo</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:geo">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:geo">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">geoString</td><td class="module"><a href="Data-Factual-Shared-Geo.html#v:geoString">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">Global</td><td class="module"><a href="Data-Factual-Shared-Table.html#v:Global">Data.Factual.Shared.Table</a>, Data.Factual.Write.Contribute, Data.Factual.Write.Flag, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery, Data.Factual.Query.SchemaQuery</td></tr><tr><td class="src">Inaccurate</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Inaccurate">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">Inappropriate</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Inappropriate">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">includeCount</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:includeCount">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:includeCount">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">includeCountString</td><td class="module"><a href="Data-Factual-Utils.html#v:includeCountString">Data.Factual.Utils</a></td></tr><tr><td class="src">InNumList</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:InNumList">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">InStrList</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:InStrList">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">IsBlank</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:IsBlank">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">IsNotBlank</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:IsNotBlank">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">join</td><td class="module"><a href="Data-Factual-Utils.html#v:join">Data.Factual.Utils</a></td></tr><tr><td class="src">joinAndFilter</td><td class="module"><a href="Data-Factual-Utils.html#v:joinAndFilter">Data.Factual.Utils</a></td></tr><tr><td class="src">Lat</td><td class="module"><a href="Data-Factual-Shared-Geo.html#t:Lat">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">limit</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:limit">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:limit">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">3 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:limit">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">limitString</td><td class="module"><a href="Data-Factual-Utils.html#v:limitString">Data.Factual.Utils</a></td></tr><tr><td class="src">Long</td><td class="module"><a href="Data-Factual-Shared-Geo.html#t:Long">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">lookupNumber</td><td class="module"><a href="Data-Factual-Response.html#v:lookupNumber">Data.Factual.Response</a></td></tr><tr><td class="src">lookupString</td><td class="module"><a href="Data-Factual-Response.html#v:lookupString">Data.Factual.Response</a></td></tr><tr><td class="src">lookupValue</td><td class="module"><a href="Data-Factual-Response.html#v:lookupValue">Data.Factual.Response</a></td></tr><tr><td class="src">lookupValueSafe</td><td class="module"><a href="Data-Factual-Response.html#v:lookupValueSafe">Data.Factual.Response</a></td></tr><tr><td class="src">makeRawRequest</td><td class="module"><a href="Network-Factual-API.html#v:makeRawRequest">Network.Factual.API</a></td></tr><tr><td class="src">makeRequest</td><td class="module"><a href="Network-Factual-API.html#v:makeRequest">Network.Factual.API</a></td></tr><tr><td class="src">minCount</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:minCount">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="src">namespace</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:namespace">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="src">namespaceId</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:namespaceId">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="src">Nonexistent</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Nonexistent">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">NoSearch</td><td class="module"><a href="Data-Factual-Shared-Search.html#v:NoSearch">Data.Factual.Shared.Search</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotBeginsWith</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotBeginsWith">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotBeginsWithAny</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotBeginsWithAny">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotEqualNum</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotEqualNum">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotEqualStr</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotEqualStr">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotInNumList</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotInNumList">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">NotInStrList</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:NotInStrList">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">oauthParams</td><td class="module"><a href="Network-Factual-API.html#v:oauthParams">Network.Factual.API</a></td></tr><tr><td class="src">offset</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:offset">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">only</td><td class="module"><a href="Data-Factual-Query-CrosswalkQuery.html#v:only">Data.Factual.Query.CrosswalkQuery</a></td></tr><tr><td class="src">Or</td><td class="module"><a href="Data-Factual-Shared-Filter.html#v:Or">Data.Factual.Shared.Filter</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">OrSearch</td><td class="module"><a href="Data-Factual-Shared-Search.html#v:OrSearch">Data.Factual.Shared.Search</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">Other</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Other">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">path</td><td class="module"><a href="Data-Factual-Write.html#v:path">Data.Factual.Write</a></td></tr><tr><td class="src">Places</td><td class="module"><a href="Data-Factual-Shared-Table.html#v:Places">Data.Factual.Shared.Table</a>, Data.Factual.Write.Contribute, Data.Factual.Write.Flag, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery, Data.Factual.Query.SchemaQuery</td></tr><tr><td class="src">Problem</td><td class="module"><a href="Data-Factual-Write-Flag.html#t:Problem">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">problem</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:problem">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">Query</td><td class="module"><a href="Data-Factual-Query.html#t:Query">Data.Factual.Query</a></td></tr><tr><td class="src">Radius</td><td class="module"><a href="Data-Factual-Shared-Geo.html#t:Radius">Data.Factual.Shared.Geo</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">ReadQuery</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#t:ReadQuery">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:ReadQuery">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">reference</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:reference">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">ReqToken</td><td class="module"><a href="Network-Factual-API.html#v:ReqToken">Network.Factual.API</a></td></tr><tr><td class="src">ResolveNum</td><td class="module"><a href="Data-Factual-Query-ResolveQuery.html#v:ResolveNum">Data.Factual.Query.ResolveQuery</a></td></tr><tr><td class="src">ResolveQuery</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Query-ResolveQuery.html#t:ResolveQuery">Data.Factual.Query.ResolveQuery</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Query-ResolveQuery.html#v:ResolveQuery">Data.Factual.Query.ResolveQuery</a></td></tr><tr><td class="src">ResolveStr</td><td class="module"><a href="Data-Factual-Query-ResolveQuery.html#v:ResolveStr">Data.Factual.Query.ResolveQuery</a></td></tr><tr><td class="src">ResolveValue</td><td class="module"><a href="Data-Factual-Query-ResolveQuery.html#t:ResolveValue">Data.Factual.Query.ResolveQuery</a></td></tr><tr><td class="src">Response</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Response.html#t:Response">Data.Factual.Response</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Response.html#v:Response">Data.Factual.Response</a></td></tr><tr><td class="src">response</td><td class="module"><a href="Data-Factual-Response.html#v:response">Data.Factual.Response</a></td></tr><tr><td class="src">SchemaQuery</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Data-Factual-Query-SchemaQuery.html#t:SchemaQuery">Data.Factual.Query.SchemaQuery</a></td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Data-Factual-Query-SchemaQuery.html#v:SchemaQuery">Data.Factual.Query.SchemaQuery</a></td></tr><tr><td class="src">Search</td><td class="module"><a href="Data-Factual-Shared-Search.html#t:Search">Data.Factual.Shared.Search</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">search</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:search">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:search">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">searchString</td><td class="module"><a href="Data-Factual-Shared-Search.html#v:searchString">Data.Factual.Shared.Search</a>, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery</td></tr><tr><td class="src">select</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:select">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:select">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">selectString</td><td class="module"><a href="Data-Factual-Utils.html#v:selectString">Data.Factual.Utils</a></td></tr><tr><td class="src">sendWrite</td><td class="module"><a href="Network-Factual-API.html#v:sendWrite">Network.Factual.API</a></td></tr><tr><td class="src">Spam</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:Spam">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">status</td><td class="module"><a href="Data-Factual-Response.html#v:status">Data.Factual.Response</a></td></tr><tr><td class="src">Table</td><td class="module"><a href="Data-Factual-Shared-Table.html#t:Table">Data.Factual.Shared.Table</a>, Data.Factual.Write.Contribute, Data.Factual.Write.Flag, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery, Data.Factual.Query.SchemaQuery</td></tr><tr><td class="src">table</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Write-Contribute.html#v:table">Data.Factual.Write.Contribute</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:table">Data.Factual.Write.Flag</a></td></tr><tr><td class="alt">3 (Function)</td><td class="module"><a href="Data-Factual-Query-FacetsQuery.html#v:table">Data.Factual.Query.FacetsQuery</a></td></tr><tr><td class="alt">4 (Function)</td><td class="module"><a href="Data-Factual-Query-ReadQuery.html#v:table">Data.Factual.Query.ReadQuery</a></td></tr><tr><td class="src">Token</td><td class="module"><a href="Network-Factual-API.html#t:Token">Network.Factual.API</a></td></tr><tr><td class="src">toList</td><td class="module"><a href="Data-Factual-Response.html#v:toList">Data.Factual.Response</a></td></tr><tr><td class="src">toPath</td><td class="module"><a href="Data-Factual-Query.html#v:toPath">Data.Factual.Query</a></td></tr><tr><td class="src">TwoLegg</td><td class="module"><a href="Network-Factual-API.html#v:TwoLegg">Network.Factual.API</a></td></tr><tr><td class="src">user</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Data-Factual-Write-Contribute.html#v:user">Data.Factual.Write.Contribute</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Data-Factual-Write-Flag.html#v:user">Data.Factual.Write.Flag</a></td></tr><tr><td class="src">USRestaurants</td><td class="module"><a href="Data-Factual-Shared-Table.html#v:USRestaurants">Data.Factual.Shared.Table</a>, Data.Factual.Write.Contribute, Data.Factual.Write.Flag, Data.Factual.Query.FacetsQuery, Data.Factual.Query.ReadQuery, Data.Factual.Query.SchemaQuery</td></tr><tr><td class="src">Value</td><td class="module"><a href="Data-Factual-Response.html#t:Value">Data.Factual.Response</a></td></tr><tr><td class="src">values</td><td class="module"><a href="Data-Factual-Write-Contribute.html#v:values">Data.Factual.Write.Contribute</a></td></tr><tr><td class="src">version</td><td class="module"><a href="Data-Factual-Response.html#v:version">Data.Factual.Response</a></td></tr><tr><td class="src">Write</td><td class="module"><a href="Data-Factual-Write.html#t:Write">Data.Factual.Write</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
View
2  docs/index-frames.html
@@ -1,4 +1,4 @@
<!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></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();};
//]]>
-</script></head><body id="mini"><div id="module-list"><p class="caption">Modules</p><ul><li class="module"><a href="Data-Factual-Credentials.html" target="main">Data.Factual.Credentials</a></li><li class="module"><a href="Data-Factual-Query.html" target="main">Data.Factual.Query</a></li><li class="module"><a href="Data-Factual-Query-CrosswalkQuery.html" target="main">Data.Factual.Query.CrosswalkQuery</a></li><li class="module"><a href="Data-Factual-Query-FacetsQuery.html" target="main">Data.Factual.Query.FacetsQuery</a></li><li class="module"><a href="Data-Factual-Query-ReadQuery.html" target="main">Data.Factual.Query.ReadQuery</a></li><li class="module"><a href="Data-Factual-Query-ResolveQuery.html" target="main">Data.Factual.Query.ResolveQuery</a></li><li class="module"><a href="Data-Factual-Query-SchemaQuery.html" target="main">Data.Factual.Query.SchemaQuery</a></li><li class="module"><a href="Data-Factual-Response.html" target="main">Data.Factual.Response</a></li><li class="module"><a href="Data-Factual-Shared-Filter.html" target="main">Data.Factual.Shared.Filter</a></li><li class="module"><a href="Data-Factual-Shared-Geo.html" target="main">Data.Factual.Shared.Geo</a></li><li class="module"><a href="Data-Factual-Shared-Search.html" target="main">Data.Factual.Shared.Search</a></li><li class="module"><a href="Data-Factual-Shared-Table.html" target="main">Data.Factual.Shared.Table</a></li><li class="module"><a href="Data-Factual-Utils.html" target="main">Data.Factual.Utils</a></li><li class="module"><a href="Data-Factual-Write.html" target="main">Data.Factual.Write</a></li><li class="module"><a href="Data-Factual-Write-Contribute.html" target="main">Data.Factual.Write.Contribute</a></li><li class="module"><a href="Data-Factual-Write-Flag.html" target="main">Data.Factual.Write.Flag</a></li><li class="module"><a href="Network-Factual-API.html" target="main">Network.Factual.API</a></li></ul></div></body></html>
+</script></head><body id="mini"><div id="module-list"><p class="caption">Modules</p><ul><li class="module"><a href="Data-Factual-Query.html" target="main">Data.Factual.Query</a></li><li class="module"><a href="Data-Factual-Query-CrosswalkQuery.html" target="main">Data.Factual.Query.CrosswalkQuery</a></li><li class="module"><a href="Data-Factual-Query-FacetsQuery.html" target="main">Data.Factual.Query.FacetsQuery</a></li><li class="module"><a href="Data-Factual-Query-ReadQuery.html" target="main">Data.Factual.Query.ReadQuery</a></li><li class="module"><a href="Data-Factual-Query-ResolveQuery.html" target="main">Data.Factual.Query.ResolveQuery</a></li><li class="module"><a href="Data-Factual-Query-SchemaQuery.html" target="main">Data.Factual.Query.SchemaQuery</a></li><li class="module"><a href="Data-Factual-Response.html" target="main">Data.Factual.Response</a></li><li class="module"><a href="Data-Factual-Shared-Filter.html" target="main">Data.Factual.Shared.Filter</a></li><li class="module"><a href="Data-Factual-Shared-Geo.html" target="main">Data.Factual.Shared.Geo</a></li><li class="module"><a href="Data-Factual-Shared-Search.html" target="main">Data.Factual.Shared.Search</a></li><li class="module"><a href="Data-Factual-Shared-Table.html" target="main">Data.Factual.Shared.Table</a></li><li class="module"><a href="Data-Factual-Utils.html" target="main">Data.Factual.Utils</a></li><li class="module"><a href="Data-Factual-Write.html" target="main">Data.Factual.Write</a></li><li class="module"><a href="Data-Factual-Write-Contribute.html" target="main">Data.Factual.Write.Contribute</a></li><li class="module"><a href="Data-Factual-Write-Flag.html" target="main">Data.Factual.Write.Flag</a></li><li class="module"><a href="Network-Factual-API.html" target="main">Network.Factual.API</a></li></ul></div></body></html>
View
2  docs/index.html
@@ -1,4 +1,4 @@
<!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></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();};
//]]>
-</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">Data</span><ul id="section.n.1" class="show"><li><span id="control.n.1.1" class="module collapser" onclick="toggleSection('n.1.1')">Factual</span><ul id="section.n.1.1" class="show"><li><span class="module"><a href="Data-Factual-Credentials.html">Data.Factual.Credentials</a></span></li><li><span class="module"><span id="control.n.1.1.2" class="collapser" onclick="toggleSection('n.1.1.2')">&nbsp;</span><a href="Data-Factual-Query.html">Data.Factual.Query</a></span><ul id="section.n.1.1.2" class="show"><li><span class="module"><a href="Data-Factual-Query-CrosswalkQuery.html">Data.Factual.Query.CrosswalkQuery</a></span></li><li><span class="module"><a href="Data-Factual-Query-FacetsQuery.html">Data.Factual.Query.FacetsQuery</a></span></li><li><span class="module"><a href="Data-Factual-Query-ReadQuery.html">Data.Factual.Query.ReadQuery</a></span></li><li><span class="module"><a href="Data-Factual-Query-ResolveQuery.html">Data.Factual.Query.ResolveQuery</a></span></li><li><span class="module"><a href="Data-Factual-Query-SchemaQuery.html">Data.Factual.Query.SchemaQuery</a></span></li></ul></li><li><span class="module"><a href="Data-Factual-Response.html">Data.Factual.Response</a></span></li><li><span id="control.n.1.1.4" class="module collapser" onclick="toggleSection('n.1.1.4')">Shared</span><ul id="section.n.1.1.4" class="show"><li><span class="module"><a href="Data-Factual-Shared-Filter.html">Data.Factual.Shared.Filter</a></span></li><li><span class="module"><a href="Data-Factual-Shared-Geo.html">Data.Factual.Shared.Geo</a></span></li><li><span class="module"><a href="Data-Factual-Shared-Search.html">Data.Factual.Shared.Search</a></span></li><li><span class="module"><a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></span></li></ul></li><li><span class="module"><a href="Data-Factual-Utils.html">Data.Factual.Utils</a></span></li><li><span class="module"><span id="control.n.1.1.6" class="collapser" onclick="toggleSection('n.1.1.6')">&nbsp;</span><a href="Data-Factual-Write.html">Data.Factual.Write</a></span><ul id="section.n.1.1.6" class="show"><li><span class="module"><a href="Data-Factual-Write-Contribute.html">Data.Factual.Write.Contribute</a></span></li><li><span class="module"><a href="Data-Factual-Write-Flag.html">Data.Factual.Write.Flag</a></span></li></ul></li></ul></li></ul></li><li><span id="control.n.2" class="module collapser" onclick="toggleSection('n.2')">Network</span><ul id="section.n.2" class="show"><li><span id="control.n.2.1" class="module collapser" onclick="toggleSection('n.2.1')">Factual</span><ul id="section.n.2.1" class="show"><li><span class="module"><a href="Network-Factual-API.html">Network.Factual.API</a></span></li></ul></li></ul></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
+</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">Data</span><ul id="section.n.1" class="show"><li><span id="control.n.1.1" class="module collapser" onclick="toggleSection('n.1.1')">Factual</span><ul id="section.n.1.1" class="show"><li><span class="module"><span id="control.n.1.1.1" class="collapser" onclick="toggleSection('n.1.1.1')">&nbsp;</span><a href="Data-Factual-Query.html">Data.Factual.Query</a></span><ul id="section.n.1.1.1" class="show"><li><span class="module"><a href="Data-Factual-Query-CrosswalkQuery.html">Data.Factual.Query.CrosswalkQuery</a></span></li><li><span class="module"><a href="Data-Factual-Query-FacetsQuery.html">Data.Factual.Query.FacetsQuery</a></span></li><li><span class="module"><a href="Data-Factual-Query-ReadQuery.html">Data.Factual.Query.ReadQuery</a></span></li><li><span class="module"><a href="Data-Factual-Query-ResolveQuery.html">Data.Factual.Query.ResolveQuery</a></span></li><li><span class="module"><a href="Data-Factual-Query-SchemaQuery.html">Data.Factual.Query.SchemaQuery</a></span></li></ul></li><li><span class="module"><a href="Data-Factual-Response.html">Data.Factual.Response</a></span></li><li><span id="control.n.1.1.3" class="module collapser" onclick="toggleSection('n.1.1.3')">Shared</span><ul id="section.n.1.1.3" class="show"><li><span class="module"><a href="Data-Factual-Shared-Filter.html">Data.Factual.Shared.Filter</a></span></li><li><span class="module"><a href="Data-Factual-Shared-Geo.html">Data.Factual.Shared.Geo</a></span></li><li><span class="module"><a href="Data-Factual-Shared-Search.html">Data.Factual.Shared.Search</a></span></li><li><span class="module"><a href="Data-Factual-Shared-Table.html">Data.Factual.Shared.Table</a></span></li></ul></li><li><span class="module"><a href="Data-Factual-Utils.html">Data.Factual.Utils</a></span></li><li><span class="module"><span id="control.n.1.1.5" class="collapser" onclick="toggleSection('n.1.1.5')">&nbsp;</span><a href="Data-Factual-Write.html">Data.Factual.Write</a></span><ul id="section.n.1.1.5" class="show"><li><span class="module"><a href="Data-Factual-Write-Contribute.html">Data.Factual.Write.Contribute</a></span></li><li><span class="module"><a href="Data-Factual-Write-Flag.html">Data.Factual.Write.Flag</a></span></li></ul></li></ul></li></ul></li><li><span id="control.n.2" class="module collapser" onclick="toggleSection('n.2')">Network</span><ul id="section.n.2" class="show"><li><span id="control.n.2.1" class="module collapser" onclick="toggleSection('n.2.1')">Factual</span><ul id="section.n.2.1" class="show"><li><span class="module"><a href="Network-Factual-API.html">Network.Factual.API</a></span></li></ul></li></ul></li></ul></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>
View
5 docs/mini_Data-Factual-Credentials.html
@@ -1,5 +0,0 @@
-<!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>Data.Factual.Credentials</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();};
-//]]>
-</script></head><body id="mini"><div id="module-header"><p class="caption">Data.Factual.Credentials</p></div><div id="interface"><h1>Credentials type
-</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Credentials.html#t:Credentials" target="main">Credentials</a> </p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="Data-Factual-Credentials.html#t:Key" target="main">Key</a> </p></div><div class="top"><p class="src"><span class="keyword">type</span> <a href="Data-Factual-Credentials.html#t:Secret" target="main">Secret</a> </p></div></div></body></html>
View
3  docs/mini_Data-Factual-Query-FacetsQuery.html
@@ -2,4 +2,5 @@
window.onload = function () {pageLoad();};
//]]>
</script></head><body id="mini"><div id="module-header"><p class="caption">Data.Factual.Query.FacetsQuery</p></div><div id="interface"><h1>FacetsQuery type
-</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Query-FacetsQuery.html#t:FacetsQuery" target="main">FacetsQuery</a> </p></div></div></body></html>
+</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Query-FacetsQuery.html#t:FacetsQuery" target="main">FacetsQuery</a> </p></div><h1>Required modules
+</h1></div></body></html>
View
3  docs/mini_Data-Factual-Query-ReadQuery.html
@@ -2,4 +2,5 @@
window.onload = function () {pageLoad();};
//]]>
</script></head><body id="mini"><div id="module-header"><p class="caption">Data.Factual.Query.ReadQuery</p></div><div id="interface"><h1>ReadQuery type
-</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Query-ReadQuery.html#t:ReadQuery" target="main">ReadQuery</a> </p></div></div></body></html>
+</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Query-ReadQuery.html#t:ReadQuery" target="main">ReadQuery</a> </p></div><h1>Required modules
+</h1></div></body></html>
View
3  docs/mini_Data-Factual-Query-SchemaQuery.html
@@ -2,4 +2,5 @@
window.onload = function () {pageLoad();};
//]]>
</script></head><body id="mini"><div id="module-header"><p class="caption">Data.Factual.Query.SchemaQuery</p></div><div id="interface"><h1>SchemaQuery type
-</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Query-SchemaQuery.html#t:SchemaQuery" target="main">SchemaQuery</a> </p></div></div></body></html>
+</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Query-SchemaQuery.html#t:SchemaQuery" target="main">SchemaQuery</a> </p></div><h1>Required modules
+</h1></div></body></html>
View
3  docs/mini_Data-Factual-Write-Contribute.html
@@ -2,4 +2,5 @@
window.onload = function () {pageLoad();};
//]]>
</script></head><body id="mini"><div id="module-header"><p class="caption">Data.Factual.Write.Contribute</p></div><div id="interface"><h1>Contribute type
-</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Write-Contribute.html#t:Contribute" target="main">Contribute</a> </p></div></div></body></html>
+</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Write-Contribute.html#t:Contribute" target="main">Contribute</a> </p></div><h1>Required modules
+</h1></div></body></html>
View
3  docs/mini_Data-Factual-Write-Flag.html
@@ -3,4 +3,5 @@
//]]>
</script></head><body id="mini"><div id="module-header"><p class="caption">Data.Factual.Write.Flag</p></div><div id="interface"><h1>Flag type
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Write-Flag.html#t:Flag" target="main">Flag</a> </p></div><h1>Problem type
-</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Write-Flag.html#t:Problem" target="main">Problem</a> </p></div></div></body></html>
+</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Data-Factual-Write-Flag.html#t:Problem" target="main">Problem</a> </p></div><h1>Required modules
+</h1></div></body></html>
View
2  examples/CrosswalkExample.hs
@@ -10,7 +10,7 @@ main = do
args <- getArgs
let oauthKey = head args
let oauthSecret = last args
- let token = generateToken (Credentials oauthKey oauthSecret)
+ let token = generateToken oauthKey oauthSecret
let query = CrosswalkQuery { factualId = Just "97598010-433f-4946-8fd5-4a6dd1639d77"
, limit = Nothing
, namespace = Nothing
View
2  examples/FacetsExample.hs
@@ -10,7 +10,7 @@ main = do
args <- getArgs
let oauthKey = head args
let oauthSecret = last args
- let token = generateToken (Credentials oauthKey oauthSecret)
+ let token = generateToken oauthKey oauthSecret
let query = FacetsQuery { table = Places
, search = AndSearch ["Starbucks"]
, select = ["country"]
View
2  examples/RawReadExample.hs
@@ -9,7 +9,7 @@ main = do
args <- getArgs
let oauthKey = head args
let oauthSecret = last args
- let token = generateToken (Credentials oauthKey oauthSecret)
+ let token = generateToken oauthKey oauthSecret
result <- makeRawRequest token "/t/places?q=starbucks"
putStrLn $ "Status: " ++ status result
putStrLn $ "Version: " ++ show (version result)
View
2  examples/ReadExample.hs
@@ -10,7 +10,7 @@ main = do
args <- getArgs
let oauthKey = head args
let oauthSecret = last args
- let token = generateToken (Credentials oauthKey oauthSecret)
+ let token = generateToken oauthKey oauthSecret
let query = ReadQuery { table = Places
, search = AndSearch []
, select = ["name"]
View
2  examples/ResolveExample.hs
@@ -10,7 +10,7 @@ main = do
args <- getArgs
let oauthKey = head args
let oauthSecret = last args
- let token = generateToken (Credentials oauthKey oauthSecret)
+ let token = generateToken oauthKey oauthSecret
let query = ResolveQuery [ ResolveStr "name" "McDonalds"
, ResolveStr "address" "10451 Santa Monica Blvd" ]
result <- makeRequest token query
View
2  examples/SchemaExample.hs
@@ -10,7 +10,7 @@ main = do
args <- getArgs
let oauthKey = head args
let oauthSecret = last args
- let token = generateToken (Credentials oauthKey oauthSecret)
+ let token = generateToken oauthKey oauthSecret
let query = SchemaQuery Places
result <- makeRequest token query
putStrLn $ "Status: " ++ status result
View
1  factual-api.cabal
@@ -27,7 +27,6 @@ extra-source-files:
library
exposed-modules:
Network.Factual.API
- Data.Factual.Credentials
Data.Factual.CrosswalkQuery
Data.Factual.Query
Data.Factual.ReadQuery
View
6 test/Tests.hs
@@ -14,7 +14,7 @@ import qualified Data.Factual.Write.Flag as L
runUnitTests = runTestTT unitTests
-runIntegrationTests key secret = runTestTT $ integrationTests (Credentials key secret)
+runIntegrationTests key secret = runTestTT $ integrationTests key secret
unitTests = TestList [ TestLabel "Place table test" placeTablePathTest
, TestLabel "Restaurants table test" restaurantsTablePathTest
@@ -56,13 +56,13 @@ unitTests = TestList [ TestLabel "Place table test" placeTablePathTest
, TestLabel "Flag path test" flagPathTest
, TestLabel "Flag body test" flagBodyTest ]
-integrationTests creds = TestList [ TestLabel "Read test" (readIntegrationTest token)
+integrationTests key secret = TestList [ TestLabel "Read test" (readIntegrationTest token)
, TestLabel "Schema test" (schemaIntegrationTest token)
, TestLabel "Resolve test" (resolveIntegrationTest token)
, TestLabel "Crosswalk test" (crosswalkIntegrationTest token)
, TestLabel "Raw read test" (rawIntegrationTest token)
, TestLabel "Facets test" (facetsIntegrationTest token) ]
- where token = generateToken creds
+ where token = generateToken key secret
placeTablePathTest = TestCase (do
let expected = "/t/places/read?include_count=false"
Please sign in to comment.
Something went wrong with that request. Please try again.