This file is indexed.

/usr/share/doc/libghc-vault-doc/html/Data-Vault-Strict.html is in libghc-vault-doc 0.3.0.3-1.

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

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!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.Vault.Strict</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-Vault-Strict.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Vault-Strict.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">vault-0.3.0.3: a persistent store for values of arbitrary types</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Data.Vault.Strict</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Vault
</a></li><li><a href="#g:2">Locker
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A persistent store for values of arbitrary types.
</p><p>The <code><a href="Data-Vault-Strict.html#t:Vault">Vault</a></code> type in this module is strict in both keys and values.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">type</span> <a href="#t:Vault">Vault</a> = <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad-ST-Safe.html#t:RealWorld">RealWorld</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Key">Key</a> = <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad-ST-Safe.html#t:RealWorld">RealWorld</a></li><li class="src short"><a href="#v:empty">empty</a> :: <a href="Data-Vault-Strict.html#t:Vault">Vault</a></li><li class="src short"><a href="#v:newKey">newKey</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="Data-Vault-Strict.html#t:Key">Key</a> a)</li><li class="src short"><a href="#v:lookup">lookup</a> ::  <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> a</li><li class="src short"><a href="#v:insert">insert</a> ::  <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; a -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a></li><li class="src short"><a href="#v:adjust">adjust</a> ::  (a -&gt; a) -&gt; <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a></li><li class="src short"><a href="#v:delete">delete</a> ::  <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a></li><li class="src short"><a href="#v:union">union</a> :: <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Locker">Locker</a> = <a href="Data-Vault-ST-Strict.html#t:Locker">Locker</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad-ST-Safe.html#t:RealWorld">RealWorld</a></li><li class="src short"><a href="#v:lock">lock</a> ::  <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; a -&gt; <a href="Data-Vault-Strict.html#t:Locker">Locker</a></li><li class="src short"><a href="#v:unlock">unlock</a> ::  <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; <a href="Data-Vault-Strict.html#t:Locker">Locker</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> a</li></ul></div><div id="interface"><h1 id="g:1">Vault
</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Vault" class="def">Vault</a> = <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad-ST-Safe.html#t:RealWorld">RealWorld</a><a href="src/Data-Vault-Strict.html#Vault" class="link">Source</a></p><div class="doc"><p>A persistent store for values of arbitrary types.
</p><p>This variant is the simplest and creates keys in the <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a></code> monad.
 See the module <a href="Data-Vault-ST.html">Data.Vault.ST</a> if you want to use it with the <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad-ST-Safe.html#t:ST">ST</a></code> monad instead.
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Key" class="def">Key</a> = <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad-ST-Safe.html#t:RealWorld">RealWorld</a><a href="src/Data-Vault-Strict.html#Key" class="link">Source</a></p><div class="doc"><p>Keys for the vault.
</p></div></div><div class="top"><p class="src"><a name="v:empty" class="def">empty</a> :: <a href="Data-Vault-Strict.html#t:Vault">Vault</a><a href="src/Data-Vault-Strict.html#empty" class="link">Source</a></p><div class="doc"><p>The empty vault.
</p></div></div><div class="top"><p class="src"><a name="v:newKey" class="def">newKey</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="Data-Vault-Strict.html#t:Key">Key</a> a)<a href="src/Data-Vault-Strict.html#newKey" class="link">Source</a></p><div class="doc"><p>Create a new key for use with a vault.
</p></div></div><div class="top"><p class="src"><a name="v:lookup" class="def">lookup</a> ::  <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> a<a href="src/Data-Vault-Strict.html#lookup" class="link">Source</a></p><div class="doc"><p>Lookup the value of a key in the vault.
</p></div></div><div class="top"><p class="src"><a name="v:insert" class="def">insert</a> ::  <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; a -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a><a href="src/Data-Vault-Strict.html#insert" class="link">Source</a></p><div class="doc"><p>Insert a value for a given key. Overwrites any previous value.
</p></div></div><div class="top"><p class="src"><a name="v:adjust" class="def">adjust</a> ::  (a -&gt; a) -&gt; <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a><a href="src/Data-Vault-Strict.html#adjust" class="link">Source</a></p><div class="doc"><p>Adjust the value for a given key if it's present in the vault.
</p></div></div><div class="top"><p class="src"><a name="v:delete" class="def">delete</a> ::  <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a><a href="src/Data-Vault-Strict.html#delete" class="link">Source</a></p><div class="doc"><p>Delete a key from the vault.
</p></div></div><div class="top"><p class="src"><a name="v:union" class="def">union</a> :: <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a> -&gt; <a href="Data-Vault-Strict.html#t:Vault">Vault</a><a href="src/Data-Vault-Strict.html#union" class="link">Source</a></p><div class="doc"><p>Merge two vaults (left-biased).
</p></div></div><h1 id="g:2">Locker
</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Locker" class="def">Locker</a> = <a href="Data-Vault-ST-Strict.html#t:Locker">Locker</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad-ST-Safe.html#t:RealWorld">RealWorld</a><a href="src/Data-Vault-Strict.html#Locker" class="link">Source</a></p><div class="doc"><p>A persistent store for a single value.
</p></div></div><div class="top"><p class="src"><a name="v:lock" class="def">lock</a> ::  <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; a -&gt; <a href="Data-Vault-Strict.html#t:Locker">Locker</a><a href="src/Data-Vault-Strict.html#lock" class="link">Source</a></p><div class="doc"><p>Put a single value into a <code><a href="Data-Vault-Strict.html#t:Locker">Locker</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:unlock" class="def">unlock</a> ::  <a href="Data-Vault-Strict.html#t:Key">Key</a> a -&gt; <a href="Data-Vault-Strict.html#t:Locker">Locker</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> a<a href="src/Data-Vault-Strict.html#unlock" class="link">Source</a></p><div class="doc"><p>Retrieve the value from the <code><a href="Data-Vault-Strict.html#t:Locker">Locker</a></code>.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>