Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New Documentation

  • Loading branch information...
commit 229f84516bd5caac9bf302c884c6f7de50595458 1 parent bb566d9
@Palmik authored
View
19 Snap-Snaplet-MongoDB-Core.html
@@ -1,22 +1,23 @@
<!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>Snap.Snaplet.MongoDB.Core</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_Snap-Snaplet-MongoDB-Core.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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB.Core</p></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:MongoDB">MongoDB</a> = <a href="#v:MongoDB">MongoDB</a> {<ul class="subs"><li><a href="#v:mongoPool">mongoPool</a> :: Pool <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO-Error.html#t:IOError">IOError</a> Pipe</li><li><a href="#v:mongoDatabase">mongoDatabase</a> :: Database</li></ul>}</li><li class="src short"><span class="keyword">class</span> <a href="#t:HasMongoDB">HasMongoDB</a> app <span class="keyword">where</span><ul class="subs"><li><a href="#v:getMongoDB">getMongoDB</a> :: app -&gt; <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a></li></ul></li><li class="src short"><a href="#v:mongoDBInit">mongoDBInit</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Int.html#t:Int">Int</a> -&gt; Host -&gt; Database -&gt; SnapletInit app <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:MongoDB" class="def">MongoDB</a> </p><div class="doc"><p>Snaplet's data type.
-</p><p>Example:
+</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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB.Core</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>In this module you can find the Snaplet's data type, type class and initializer.
+</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:MongoDB">MongoDB</a> = <a href="#v:MongoDB">MongoDB</a> {<ul class="subs"><li><a href="#v:mongoPool">mongoPool</a> :: Pool <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO-Error.html#t:IOError">IOError</a> Pipe</li><li><a href="#v:mongoDatabase">mongoDatabase</a> :: Database</li><li><a href="#v:mongoAccessMode">mongoAccessMode</a> :: AccessMode</li></ul>}</li><li class="src short"><span class="keyword">class</span> <a href="#t:HasMongoDB">HasMongoDB</a> app <span class="keyword">where</span><ul class="subs"><li><a href="#v:getMongoDB">getMongoDB</a> :: app -&gt; <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a></li></ul></li><li class="src short"><a href="#v:mongoDBInit">mongoDBInit</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Int.html#t:Int">Int</a> -&gt; Host -&gt; Database -&gt; SnapletInit app <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:MongoDB" class="def">MongoDB</a> </p><div class="doc"><p>Snaplet's data type.
+</p><p>Usage:
</p><pre> data App = App
{ _heist :: Snaplet (Heist App)
, _database :: Snaplet MongoDB
}
-</pre></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MongoDB" class="def">MongoDB</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:mongoPool" class="def">mongoPool</a> :: Pool <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO-Error.html#t:IOError">IOError</a> Pipe</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:mongoDatabase" class="def">mongoDatabase</a> :: Database</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:HasMongoDB" class="def">HasMongoDB</a> app <span class="keyword">where</span></p><div class="doc"><p>Snaplet's type-class.
-</p><p>Example:
+</pre></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MongoDB" class="def">MongoDB</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:mongoPool" class="def">mongoPool</a> :: Pool <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO-Error.html#t:IOError">IOError</a> Pipe</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:mongoDatabase" class="def">mongoDatabase</a> :: Database</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:mongoAccessMode" class="def">mongoAccessMode</a> :: AccessMode</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:HasMongoDB" class="def">HasMongoDB</a> app <span class="keyword">where</span></p><div class="doc"><p>Snaplet's type-class.
+</p><p>Usage:
</p><pre> instance HasMongoDB App where
getMongoDB = getL (snapletValue . database)
</pre><p>Note: The <code>(.)</code> is from <code>Control.Category</code>.
-</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:getMongoDB" class="def">getMongoDB</a> :: app -&gt; <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a></p></div></div><div class="top"><p class="src"><a name="v:mongoDBInit" class="def">mongoDBInit</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Int.html#t:Int">Int</a> -&gt; Host -&gt; Database -&gt; SnapletInit app <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a></p><div class="doc"><p>Initializer function.
-</p><ol><li> argument: Maximum pool size.
-</li><li> argument: Host (e.g. return value of MongoDB's host function).
-</li><li> argument: Database name.
-</li></ol><p>Example:
+</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:getMongoDB" class="def">getMongoDB</a> :: app -&gt; <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a></p></div></div><div class="top"><p class="src"><a name="v:mongoDBInit" class="def">mongoDBInit</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>Maximum pool size.
+</p></td></tr><tr><td class="src">-&gt; Host</td><td class="doc"><p>Host (e.g. return value of MongoDB's host function).
+</p></td></tr><tr><td class="src">-&gt; Database</td><td class="doc"><p>Database name.
+</p></td></tr><tr><td class="src">-&gt; SnapletInit app <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Initializer function.
+</p><p>Usage:
</p><pre> app :: SnapletInit App App
app = makeSnaplet &quot;app&quot; &quot;Example application.&quot; Nothing $ do
h &lt;- nestSnaplet &quot;heist&quot; heist $ heistInit &quot;resources/templates&quot;
View
43 Snap-Snaplet-MongoDB-Functions-M.html
@@ -1,4 +1,45 @@
<!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>Snap.Snaplet.MongoDB.Functions.M</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_Snap-Snaplet-MongoDB-Functions-M.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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB.Functions.M</p></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:eitherWithDB-39-" class="def">eitherWithDB'</a> :: MonadState' app m =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</p></div><div class="top"><p class="src"><a name="v:eitherWithDB" class="def">eitherWithDB</a> :: MonadState' app m =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</p></div><div class="top"><p class="src"><a name="v:maybeWithDB" class="def">maybeWithDB</a> :: MonadState' app m =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</p></div><div class="top"><p class="src"><a name="v:maybeWithDB-39-" class="def">maybeWithDB'</a> :: MonadState' app m =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</p></div><div class="top"><p class="src"><a name="v:unsafeWithDB" class="def">unsafeWithDB</a> :: MonadState' app m =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m a</p></div><div class="top"><p class="src"><a name="v:unsafeWithDB-39-" class="def">unsafeWithDB'</a> :: MonadState' app m =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m a</p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.4</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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB.Functions.M</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>In this module you can find variations of <code>withDB</code> functions.
+</p><p>Functions from this module are to be used when you have multiple MongoDB snaplets (databases) in your application.
+</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:eitherWithDB">eitherWithDB</a> :: (MonadIO m, MonadState app m) =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</li><li class="src short"><a href="#v:eitherWithDB-39-">eitherWithDB'</a> :: (MonadIO m, MonadState app m) =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</li><li class="src short"><a href="#v:maybeWithDB">maybeWithDB</a> :: (MonadIO m, MonadState app m) =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</li><li class="src short"><a href="#v:maybeWithDB-39-">maybeWithDB'</a> :: (MonadIO m, MonadState app m) =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</li><li class="src short"><a href="#v:unsafeWithDB">unsafeWithDB</a> :: (MonadIO m, MonadState app m) =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m a</li><li class="src short"><a href="#v:unsafeWithDB-39-">unsafeWithDB'</a> :: (MonadIO m, MonadState app m) =&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>) -&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:eitherWithDB" class="def">eitherWithDB</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>)</td><td class="doc"><p>The snaplet (database) on which you want the action to be run.
+</p></td></tr><tr><td class="src">-&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</td><td class="doc"><p><code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a></code> <code>Failure</code> or the action's result.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Example:
+</p><pre> eitherWithDB accountDB $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
+</pre></div></div><div class="top"><p class="src"><a name="v:eitherWithDB-39-" class="def">eitherWithDB'</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>)</td><td class="doc"><p>The snaplet (database) on which you want the action to be run.
+</p></td></tr><tr><td class="src">-&gt; AccessMode</td><td class="doc"><p>Access mode you want to use when performing the action.
+</p></td></tr><tr><td class="src">-&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</td><td class="doc"><p><code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a></code> <code>Failure</code> or the action's result.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Example:
+</p><pre> eitherWithDB' accountDB UnconfirmedWrites $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
+</pre></div></div><div class="top"><p class="src"><a name="v:maybeWithDB" class="def">maybeWithDB</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>)</td><td class="doc"><p>The snaplet (database) on which you want the action to be run.
+</p></td></tr><tr><td class="src">-&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</td><td class="doc"><p><code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> in case of failure or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#v:Just">Just</a></code> the result of the action.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Example:
+</p><pre> maybeWithDB accountDB $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
+</pre></div></div><div class="top"><p class="src"><a name="v:maybeWithDB-39-" class="def">maybeWithDB'</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>)</td><td class="doc"><p>The snaplet (database) on which you want the action to be run.
+</p></td></tr><tr><td class="src">-&gt; AccessMode</td><td class="doc"><p>Access mode you want to use when performing the action.
+</p></td></tr><tr><td class="src">-&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</td><td class="doc"><p><code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> in case of failure or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#v:Just">Just</a></code> the result of the action.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Example:
+</p><pre> maybeWithDB' accountDB UnconfirmedWrites $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
+</pre></div></div><div class="top"><p class="src"><a name="v:unsafeWithDB" class="def">unsafeWithDB</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>)</td><td class="doc"><p>The snaplet (database) on which you want the action to be run.
+</p></td></tr><tr><td class="src">-&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m a</td><td class="doc"><p>The action's result; in case of failure <code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Prelude.html#v:error">error</a></code> is called.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Example:
+</p><pre> unsafeWithDB accountDB $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
+</pre></div></div><div class="top"><p class="src"><a name="v:unsafeWithDB-39-" class="def">unsafeWithDB'</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; Lens app (Snaplet <a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">MongoDB</a>)</td><td class="doc"><p>The snaplet (database) on which you want the action to be run.
+</p></td></tr><tr><td class="src">-&gt; AccessMode</td><td class="doc"><p>Access mode you want to use when performing the action.
+</p></td></tr><tr><td class="src">-&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m a</td><td class="doc"><p>The action's result; in case of failure <code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Prelude.html#v:error">error</a></code> is called.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Example:
+</p><pre> unsafeWithDB' accountDB UnconfirmedWrites $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
+</pre></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.4</p></div></body></html>
View
58 Snap-Snaplet-MongoDB-Functions-S.html
@@ -1,37 +1,39 @@
<!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>Snap.Snaplet.MongoDB.Functions.S</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_Snap-Snaplet-MongoDB-Functions-S.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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB.Functions.S</p></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:eitherWithDB-39-">eitherWithDB'</a> :: HasMongoDB' app m =&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</li><li class="src short"><a href="#v:eitherWithDB">eitherWithDB</a> :: HasMongoDB' app m =&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</li><li class="src short"><a href="#v:maybeWithDB">maybeWithDB</a> :: HasMongoDB' app m =&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</li><li class="src short"><a href="#v:maybeWithDB-39-">maybeWithDB'</a> :: HasMongoDB' app m =&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</li><li class="src short"><a href="#v:unsafeWithDB">unsafeWithDB</a> :: HasMongoDB' app m =&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m a</li><li class="src short"><a href="#v:unsafeWithDB-39-">unsafeWithDB'</a> :: HasMongoDB' app m =&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:eitherWithDB-39-" class="def">eitherWithDB'</a> :: HasMongoDB' app m =&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</p><div class="doc"><p>Database access function.
-</p><ol><li> argument: AccessMode.
-</li><li> argument: Action to perform.
-</li></ol><p>Returns: Either Failure or the action's result.
-</p><p>Example:
-</p><pre> eitherWithDB' UnconfirmedWrites $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
-</pre></div></div><div class="top"><p class="src"><a name="v:eitherWithDB" class="def">eitherWithDB</a> :: HasMongoDB' app m =&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</p><div class="doc"><p>Database access function.
-</p><ol><li> argument: Action to perform. (Defaults to UnconfirmedWrites AccessMode)
-</li></ol><p>Returns: Either Failure or the action's result.
-</p><p>Example:
+</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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB.Functions.S</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>In this module you can find variations of <code>withDB</code> functions.
+</p><p>Functions from this module are to be used when you have single MongoDB snaplet in your application and your application is an instance of HasMongoDB.
+</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:eitherWithDB">eitherWithDB</a> :: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app) =&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</li><li class="src short"><a href="#v:eitherWithDB-39-">eitherWithDB'</a> :: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app) =&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</li><li class="src short"><a href="#v:maybeWithDB">maybeWithDB</a> :: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app) =&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</li><li class="src short"><a href="#v:maybeWithDB-39-">maybeWithDB'</a> :: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app) =&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</li><li class="src short"><a href="#v:unsafeWithDB">unsafeWithDB</a> :: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app) =&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m a</li><li class="src short"><a href="#v:unsafeWithDB-39-">unsafeWithDB'</a> :: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app) =&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:eitherWithDB" class="def">eitherWithDB</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</td><td class="doc"><p><code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a></code> <code>Failure</code> or the action's result.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Usage:
</p><pre> eitherWithDB $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
-</pre></div></div><div class="top"><p class="src"><a name="v:maybeWithDB" class="def">maybeWithDB</a> :: HasMongoDB' app m =&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</p><div class="doc"><p>Database access function.
-</p><ol><li> argument: Action to perform. (Defaults to UnconfirmedWrites AccessMode)
-</li></ol><p>Returns: Nothing in case of failure or Just the rsult of the action.
-</p><p>Example:
+</pre></div></div><div class="top"><p class="src"><a name="v:eitherWithDB-39-" class="def">eitherWithDB'</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; AccessMode</td><td class="doc"><p>Access mode you want to use when performing the action.
+</p></td></tr><tr><td class="src">-&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a> Failure a)</td><td class="doc"><p><code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Either.html#t:Either">Either</a></code> <code>Failure</code> or the action's result.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Usage:
+</p><pre> eitherWithDB' UnconfirmedWrites $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
+</pre></div></div><div class="top"><p class="src"><a name="v:maybeWithDB" class="def">maybeWithDB</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</td><td class="doc"><p><code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> in case of failure or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#v:Just">Just</a></code> the result of the action.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Usage:
</p><pre> maybeWithDB $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
-</pre></div></div><div class="top"><p class="src"><a name="v:maybeWithDB-39-" class="def">maybeWithDB'</a> :: HasMongoDB' app m =&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</p><div class="doc"><p>Database access function.
-</p><ol><li> argument: AccessMode.
-</li><li> argument: Action to perform.
-</li></ol><p>Returns: Nothing in case of failure or Just the rsult of the action.
-</p><p>Example:
+</pre></div></div><div class="top"><p class="src"><a name="v:maybeWithDB-39-" class="def">maybeWithDB'</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; AccessMode</td><td class="doc"><p>Access mode you want to use when performing the action.
+</p></td></tr><tr><td class="src">-&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m (<a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</td><td class="doc"><p><code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> in case of failure or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Data-Maybe.html#v:Just">Just</a></code> the result of the action.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Usage:
</p><pre> maybeWithDB' UnconfirmedWrites $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
-</pre></div></div><div class="top"><p class="src"><a name="v:unsafeWithDB" class="def">unsafeWithDB</a> :: HasMongoDB' app m =&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m a</p><div class="doc"><p>Database access function.
-</p><ol><li> argument: Action to perform. (Defaults to UnconfirmedWrites AccessMode)
-</li></ol><p>Returns: The action's result; in case of failure error is called.
-</p><p>Example:
+</pre></div></div><div class="top"><p class="src"><a name="v:unsafeWithDB" class="def">unsafeWithDB</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m a</td><td class="doc"><p>The action's result; in case of failure <code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Prelude.html#v:error">error</a></code> is called.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Usage:
</p><pre> unsafeWithDB $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
-</pre></div></div><div class="top"><p class="src"><a name="v:unsafeWithDB-39-" class="def">unsafeWithDB'</a> :: HasMongoDB' app m =&gt; AccessMode -&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a -&gt; m a</p><div class="doc"><p>Database access function.
-</p><ol><li> argument: AccessMode.
-</li><li> argument: Action to perform.
-</li></ol><p>Returns: The action's result; in case of failure error is called.
-</p><p>Example:
+</pre></div></div><div class="top"><p class="src"><a name="v:unsafeWithDB-39-" class="def">unsafeWithDB'</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (MonadIO m, MonadState app m, <a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">HasMongoDB</a> app)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; AccessMode</td><td class="doc"><p>Access mode you want to use when performing the action.
+</p></td></tr><tr><td class="src">-&gt; Action <a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/System-IO.html#t:IO">IO</a> a</td><td class="doc"><p><code>Action</code> you want to perform.
+</p></td></tr><tr><td class="src">-&gt; m a</td><td class="doc"><p>The action's result; in case of failure <code><a href="/usr/share/doc/ghc/html/libraries/base-4.4.1.0/Prelude.html#v:error">error</a></code> is called.
+</p></td></tr></table></div><div class="doc"><p>Database access function.
+</p><p>Usage:
</p><pre> unsafeWithDB' UnconfirmedWrites $ insert &quot;test-collection&quot; [&quot;some_field&quot; = &quot;something&quot; ]
</pre></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.4</p></div></body></html>
View
2  Snap-Snaplet-MongoDB-Functions.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>Snap.Snaplet.MongoDB.Functions</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_Snap-Snaplet-MongoDB-Functions.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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB.Functions</p></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="Snap-Snaplet-MongoDB-Functions-S.html">Snap.Snaplet.MongoDB.Functions.S</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.4</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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB.Functions</p></div><div id="interface"></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.4</p></div></body></html>
View
2  Snap-Snaplet-MongoDB.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>Snap.Snaplet.MongoDB</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_Snap-Snaplet-MongoDB.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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB</p></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="Snap-Snaplet-MongoDB-Core.html">Snap.Snaplet.MongoDB.Core</a></p></div><div class="top"><p class="src">module <a href="Snap-Snaplet-MongoDB-Functions.html">Snap.Snaplet.MongoDB.Functions</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.4</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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB</p></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="Snap-Snaplet-MongoDB-Core.html">Snap.Snaplet.MongoDB.Core</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.4</p></div></body></html>
View
2  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>snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet. (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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="index"><p class="caption">Index</p><table><tr><td class="src">eitherWithDB</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:eitherWithDB">Snap.Snaplet.MongoDB.Functions.S</a>, Snap.Snaplet.MongoDB.Functions, Snap.Snaplet.MongoDB</td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:eitherWithDB">Snap.Snaplet.MongoDB.Functions.M</a></td></tr><tr><td class="src">eitherWithDB'</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:eitherWithDB-39-">Snap.Snaplet.MongoDB.Functions.S</a>, Snap.Snaplet.MongoDB.Functions, Snap.Snaplet.MongoDB</td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:eitherWithDB-39-">Snap.Snaplet.MongoDB.Functions.M</a></td></tr><tr><td class="src">getMongoDB</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:getMongoDB">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">HasMongoDB</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">maybeWithDB</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:maybeWithDB">Snap.Snaplet.MongoDB.Functions.S</a>, Snap.Snaplet.MongoDB.Functions, Snap.Snaplet.MongoDB</td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:maybeWithDB">Snap.Snaplet.MongoDB.Functions.M</a></td></tr><tr><td class="src">maybeWithDB'</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:maybeWithDB-39-">Snap.Snaplet.MongoDB.Functions.S</a>, Snap.Snaplet.MongoDB.Functions, Snap.Snaplet.MongoDB</td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:maybeWithDB-39-">Snap.Snaplet.MongoDB.Functions.M</a></td></tr><tr><td class="src">mongoDatabase</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:mongoDatabase">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">MongoDB</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:MongoDB">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">mongoDBInit</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:mongoDBInit">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">mongoPool</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:mongoPool">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">unsafeWithDB</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:unsafeWithDB">Snap.Snaplet.MongoDB.Functions.S</a>, Snap.Snaplet.MongoDB.Functions, Snap.Snaplet.MongoDB</td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:unsafeWithDB">Snap.Snaplet.MongoDB.Functions.M</a></td></tr><tr><td class="src">unsafeWithDB'</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:unsafeWithDB-39-">Snap.Snaplet.MongoDB.Functions.S</a>, Snap.Snaplet.MongoDB.Functions, Snap.Snaplet.MongoDB</td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:unsafeWithDB-39-">Snap.Snaplet.MongoDB.Functions.M</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.4</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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="index"><p class="caption">Index</p><table><tr><td class="src">eitherWithDB</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:eitherWithDB">Snap.Snaplet.MongoDB.Functions.S</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:eitherWithDB">Snap.Snaplet.MongoDB.Functions.M</a></td></tr><tr><td class="src">eitherWithDB'</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:eitherWithDB-39-">Snap.Snaplet.MongoDB.Functions.S</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:eitherWithDB-39-">Snap.Snaplet.MongoDB.Functions.M</a></td></tr><tr><td class="src">getMongoDB</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:getMongoDB">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">HasMongoDB</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#t:HasMongoDB">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">maybeWithDB</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:maybeWithDB">Snap.Snaplet.MongoDB.Functions.S</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:maybeWithDB">Snap.Snaplet.MongoDB.Functions.M</a></td></tr><tr><td class="src">maybeWithDB'</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:maybeWithDB-39-">Snap.Snaplet.MongoDB.Functions.S</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:maybeWithDB-39-">Snap.Snaplet.MongoDB.Functions.M</a></td></tr><tr><td class="src">mongoAccessMode</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:mongoAccessMode">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">mongoDatabase</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:mongoDatabase">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">MongoDB</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Type/Class)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#t:MongoDB">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="alt">2 (Data Constructor)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:MongoDB">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">mongoDBInit</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:mongoDBInit">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">mongoPool</td><td class="module"><a href="Snap-Snaplet-MongoDB-Core.html#v:mongoPool">Snap.Snaplet.MongoDB.Core</a>, Snap.Snaplet.MongoDB</td></tr><tr><td class="src">unsafeWithDB</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:unsafeWithDB">Snap.Snaplet.MongoDB.Functions.S</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:unsafeWithDB">Snap.Snaplet.MongoDB.Functions.M</a></td></tr><tr><td class="src">unsafeWithDB'</td><td>&nbsp;</td></tr><tr><td class="alt">1 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:unsafeWithDB-39-">Snap.Snaplet.MongoDB.Functions.S</a></td></tr><tr><td class="alt">2 (Function)</td><td class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:unsafeWithDB-39-">Snap.Snaplet.MongoDB.Functions.M</a></td></tr></table></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.4</p></div></body></html>
View
2  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>snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</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="Snap-Snaplet-MongoDB.html" target="main">Snap.Snaplet.MongoDB</a></li><li class="module"><a href="Snap-Snaplet-MongoDB-Core.html" target="main">Snap.Snaplet.MongoDB.Core</a></li><li class="module"><a href="Snap-Snaplet-MongoDB-Functions.html" target="main">Snap.Snaplet.MongoDB.Functions</a></li><li class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html" target="main">Snap.Snaplet.MongoDB.Functions.M</a></li><li class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html" target="main">Snap.Snaplet.MongoDB.Functions.S</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="Snap-Snaplet-MongoDB.html" target="main">Snap.Snaplet.MongoDB</a></li><li class="module"><a href="Snap-Snaplet-MongoDB-Core.html" target="main">Snap.Snaplet.MongoDB.Core</a></li><li class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html" target="main">Snap.Snaplet.MongoDB.Functions.M</a></li><li class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html" target="main">Snap.Snaplet.MongoDB.Functions.S</a></li></ul></div></body></html>
View
2  index.html
@@ -2,4 +2,4 @@
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">snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</p></div><div id="content"><div id="description"><h1>snaplet-mongodb-minimalistic-0.0.4: Minimalistic MongoDB Snaplet.</h1><div class="doc"><p>Minimalistic MongoDB Snaplet.
-</p></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">Snap</span><ul id="section.n.1" class="show"><li><span id="control.n.1.1" class="module collapser" onclick="toggleSection('n.1.1')">Snaplet</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="Snap-Snaplet-MongoDB.html">Snap.Snaplet.MongoDB</a></span><ul id="section.n.1.1.1" class="show"><li><span class="module"><a href="Snap-Snaplet-MongoDB-Core.html">Snap.Snaplet.MongoDB.Core</a></span></li><li><span class="module"><span id="control.n.1.1.1.2" class="collapser" onclick="toggleSection('n.1.1.1.2')">&nbsp;</span><a href="Snap-Snaplet-MongoDB-Functions.html">Snap.Snaplet.MongoDB.Functions</a></span><ul id="section.n.1.1.1.2" class="show"><li><span class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html">Snap.Snaplet.MongoDB.Functions.M</a></span></li><li><span class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html">Snap.Snaplet.MongoDB.Functions.S</a></span></li></ul></li></ul></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.4</p></div></body></html>
+</p></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">Snap</span><ul id="section.n.1" class="show"><li><span id="control.n.1.1" class="module collapser" onclick="toggleSection('n.1.1')">Snaplet</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="Snap-Snaplet-MongoDB.html">Snap.Snaplet.MongoDB</a></span><ul id="section.n.1.1.1" class="show"><li><span class="module"><a href="Snap-Snaplet-MongoDB-Core.html">Snap.Snaplet.MongoDB.Core</a></span></li><li><span id="control.n.1.1.1.2" class="module collapser" onclick="toggleSection('n.1.1.1.2')">Functions</span><ul id="section.n.1.1.1.2" class="show"><li><span class="module"><a href="Snap-Snaplet-MongoDB-Functions-M.html">Snap.Snaplet.MongoDB.Functions.M</a></span></li><li><span class="module"><a href="Snap-Snaplet-MongoDB-Functions-S.html">Snap.Snaplet.MongoDB.Functions.S</a></span></li></ul></li></ul></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.4</p></div></body></html>
View
2  mini_Snap-Snaplet-MongoDB-Functions-M.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>Snap.Snaplet.MongoDB.Functions.M</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">Snap.Snaplet.MongoDB.Functions.M</p></div><div id="interface"><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:eitherWithDB-39-" target="main">eitherWithDB'</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:eitherWithDB" target="main">eitherWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:maybeWithDB" target="main">maybeWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:maybeWithDB-39-" target="main">maybeWithDB'</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:unsafeWithDB" target="main">unsafeWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:unsafeWithDB-39-" target="main">unsafeWithDB'</a></p></div></div></body></html>
+</script></head><body id="mini"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB.Functions.M</p></div><div id="interface"><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:eitherWithDB" target="main">eitherWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:eitherWithDB-39-" target="main">eitherWithDB'</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:maybeWithDB" target="main">maybeWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:maybeWithDB-39-" target="main">maybeWithDB'</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:unsafeWithDB" target="main">unsafeWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-M.html#v:unsafeWithDB-39-" target="main">unsafeWithDB'</a></p></div></div></body></html>
View
2  mini_Snap-Snaplet-MongoDB-Functions-S.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>Snap.Snaplet.MongoDB.Functions.S</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">Snap.Snaplet.MongoDB.Functions.S</p></div><div id="interface"><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:eitherWithDB-39-" target="main">eitherWithDB'</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:eitherWithDB" target="main">eitherWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:maybeWithDB" target="main">maybeWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:maybeWithDB-39-" target="main">maybeWithDB'</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:unsafeWithDB" target="main">unsafeWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:unsafeWithDB-39-" target="main">unsafeWithDB'</a></p></div></div></body></html>
+</script></head><body id="mini"><div id="module-header"><p class="caption">Snap.Snaplet.MongoDB.Functions.S</p></div><div id="interface"><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:eitherWithDB" target="main">eitherWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:eitherWithDB-39-" target="main">eitherWithDB'</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:maybeWithDB" target="main">maybeWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:maybeWithDB-39-" target="main">maybeWithDB'</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:unsafeWithDB" target="main">unsafeWithDB</a></p></div><div class="top"><p class="src"><a href="Snap-Snaplet-MongoDB-Functions-S.html#v:unsafeWithDB-39-" target="main">unsafeWithDB'</a></p></div></div></body></html>
View
BIN  snaplet-mongodb-minimalistic.haddock
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.