/usr/share/doc/libghc-vault-doc/html/Data-Vault-ST-Strict.html is in libghc-vault-doc 0.3.0.7-1build2.
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 | <!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.ST.Strict</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Data-Vault-ST-Strict.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Vault-ST-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.7: 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><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Data.Vault.ST.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.
Variant for the <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-ST.html#t:ST">ST</a></code> monad.</p><p>The <code><a href="Data-Vault-ST-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">data</span> <a href="#t:Vault">Vault</a> s</li><li class="src short"><span class="keyword">data</span> <a href="#t:Key">Key</a> s a</li><li class="src short"><a href="#v:empty">empty</a> :: <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s</li><li class="src short"><a href="#v:newKey">newKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-ST.html#t:ST">ST</a> s (<a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a)</li><li class="src short"><a href="#v:lookup">lookup</a> :: <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a</li><li class="src short"><a href="#v:insert">insert</a> :: <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> a -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s</li><li class="src short"><a href="#v:adjust">adjust</a> :: (a -> a) -> <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s</li><li class="src short"><a href="#v:delete">delete</a> :: <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s</li><li class="src short"><a href="#v:union">union</a> :: <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s</li><li class="src short"><span class="keyword">data</span> <a href="#t:Locker">Locker</a> s</li><li class="src short"><a href="#v:lock">lock</a> :: <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> a -> <a href="Data-Vault-ST-Strict.html#t:Locker">Locker</a> s</li><li class="src short"><a href="#v:unlock">unlock</a> :: <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> <a href="Data-Vault-ST-Strict.html#t:Locker">Locker</a> s -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/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">data</span> <a id="t:Vault" class="def">Vault</a> s <a href="src/Data-Vault-ST-Strict.html#Vault" class="link">Source</a> <a href="#t:Vault" class="selflink">#</a></p><div class="subs instances"><p id="control.i:Vault" class="caption collapser" onclick="toggleSection('i:Vault')">Instances</p><div id="section.i:Vault" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Vault:Monoid:1" class="instance expander" onclick="toggleSection('i:id:Vault:Monoid:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> (<a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s)</span> <a href="#t:Monoid" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Vault:Monoid:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mempty">mempty</a> :: <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s <a href="#v:mempty" class="selflink">#</a></p><p class="src"><a href="#v:mappend">mappend</a> :: <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s <a href="#v:mappend" class="selflink">#</a></p><p class="src"><a href="#v:mconcat">mconcat</a> :: [<a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s] -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s <a href="#v:mconcat" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Key" class="def">Key</a> s a <a href="src/Data-Vault-ST-Strict.html#Key" class="link">Source</a> <a href="#t:Key" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:empty" class="def">empty</a> :: <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s <a href="src/Data-Vault-ST-Strict.html#empty" class="link">Source</a> <a href="#v:empty" class="selflink">#</a></p><div class="doc"><p>The empty vault.</p></div></div><div class="top"><p class="src"><a id="v:newKey" class="def">newKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad-ST.html#t:ST">ST</a> s (<a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a) <a href="src/Data-Vault-ST-Strict.html#newKey" class="link">Source</a> <a href="#v:newKey" class="selflink">#</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 id="v:lookup" class="def">lookup</a> :: <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-Vault-ST-Strict.html#lookup" class="link">Source</a> <a href="#v:lookup" class="selflink">#</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 id="v:insert" class="def">insert</a> :: <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> a -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s <a href="src/Data-Vault-ST-Strict.html#insert" class="link">Source</a> <a href="#v:insert" class="selflink">#</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 id="v:adjust" class="def">adjust</a> :: (a -> a) -> <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s <a href="src/Data-Vault-ST-Strict.html#adjust" class="link">Source</a> <a href="#v:adjust" class="selflink">#</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 id="v:delete" class="def">delete</a> :: <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s <a href="src/Data-Vault-ST-Strict.html#delete" class="link">Source</a> <a href="#v:delete" class="selflink">#</a></p><div class="doc"><p>Delete a key from the vault.</p></div></div><div class="top"><p class="src"><a id="v:union" class="def">union</a> :: <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s -> <a href="Data-Vault-ST-Strict.html#t:Vault">Vault</a> s <a href="src/Data-Vault-ST-Strict.html#union" class="link">Source</a> <a href="#v:union" class="selflink">#</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">data</span> <a id="t:Locker" class="def">Locker</a> s <a href="src/Data-Vault-ST-Strict.html#Locker" class="link">Source</a> <a href="#t:Locker" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:lock" class="def">lock</a> :: <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> a -> <a href="Data-Vault-ST-Strict.html#t:Locker">Locker</a> s <a href="src/Data-Vault-ST-Strict.html#lock" class="link">Source</a> <a href="#v:lock" class="selflink">#</a></p><div class="doc"><p>Put a single value into a <code><a href="Data-Vault-ST-Strict.html#t:Locker">Locker</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:unlock" class="def">unlock</a> :: <a href="Data-Vault-ST-Strict.html#t:Key">Key</a> s a -> <a href="Data-Vault-ST-Strict.html#t:Locker">Locker</a> s -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-Vault-ST-Strict.html#unlock" class="link">Source</a> <a href="#v:unlock" class="selflink">#</a></p><div class="doc"><p>Retrieve the value from the <code><a href="Data-Vault-ST-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.17.3</p></div></body></html>
|