This file is indexed.

/usr/share/doc/libghc-lifted-base-doc/html/Data-IORef-Lifted.html is in libghc-lifted-base-doc 0.2.3.11-1build3.

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
<!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.IORef.Lifted</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-IORef-Lifted.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-IORef-Lifted.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">lifted-base-0.2.3.11: lifted IO operations from the base library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>Liyang HU Bas van Dijk</td></tr><tr><th>License</th><td>BSD-style</td></tr><tr><th>Maintainer</th><td>Bas van Dijk &lt;v.dijk.bas@gmail.com&gt;</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Data.IORef.Lifted</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This is a wrapped version of <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-IORef.html">Data.IORef</a> with types
generalised from <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a></code> to all monads in <code><a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a></code>.</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:IORef">IORef</a> a :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a></li><li class="src short"><a href="#v:newIORef">newIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; a -&gt; m (<a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a)</li><li class="src short"><a href="#v:readIORef">readIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; m a</li><li class="src short"><a href="#v:writeIORef">writeIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; a -&gt; m ()</li><li class="src short"><a href="#v:modifyIORef">modifyIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; (a -&gt; a) -&gt; m ()</li><li class="src short"><a href="#v:modifyIORef-39-">modifyIORef'</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; (a -&gt; a) -&gt; m ()</li><li class="src short"><a href="#v:atomicModifyIORef">atomicModifyIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; (a -&gt; (a, b)) -&gt; m b</li><li class="src short"><a href="#v:atomicModifyIORef-39-">atomicModifyIORef'</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; (a -&gt; (a, b)) -&gt; m b</li><li class="src short"><a href="#v:atomicWriteIORef">atomicWriteIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; a -&gt; m ()</li><li class="src short"><a href="#v:mkWeakIORef">mkWeakIORef</a> :: <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; m () -&gt; m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-Mem-Weak.html#t:Weak">Weak</a> (<a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a))</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:IORef" class="def">IORef</a> a :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="#t:IORef" class="selflink">#</a></p><div class="doc"><p>A mutable variable in the <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a></code> monad</p></div><div class="subs instances"><p id="control.i:IORef" class="caption collapser" onclick="toggleSection('i:IORef')">Instances</p><div id="section.i:IORef" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:IORef:Eq:1" class="instance expander" onclick="toggleSection('i:id:IORef:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:IORef:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:newIORef" class="def">newIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; a -&gt; m (<a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a) <a href="src/Data-IORef-Lifted.html#newIORef" class="link">Source</a> <a href="#v:newIORef" class="selflink">#</a></p><div class="doc"><p>Generalized version of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-IORef.html#v:newIORef">newIORef</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:readIORef" class="def">readIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; m a <a href="src/Data-IORef-Lifted.html#readIORef" class="link">Source</a> <a href="#v:readIORef" class="selflink">#</a></p><div class="doc"><p>Generalized version of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-IORef.html#v:readIORef">readIORef</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:writeIORef" class="def">writeIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; a -&gt; m () <a href="src/Data-IORef-Lifted.html#writeIORef" class="link">Source</a> <a href="#v:writeIORef" class="selflink">#</a></p><div class="doc"><p>Generalized version of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-IORef.html#v:writeIORef">writeIORef</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:modifyIORef" class="def">modifyIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; (a -&gt; a) -&gt; m () <a href="src/Data-IORef-Lifted.html#modifyIORef" class="link">Source</a> <a href="#v:modifyIORef" class="selflink">#</a></p><div class="doc"><p>Generalized version of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-IORef.html#v:modifyIORef">modifyIORef</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:modifyIORef-39-" class="def">modifyIORef'</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; (a -&gt; a) -&gt; m () <a href="src/Data-IORef-Lifted.html#modifyIORef%27" class="link">Source</a> <a href="#v:modifyIORef-39-" class="selflink">#</a></p><div class="doc"><p>Generalized version of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-IORef.html#v:modifyIORef-39-">modifyIORef'</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:atomicModifyIORef" class="def">atomicModifyIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; (a -&gt; (a, b)) -&gt; m b <a href="src/Data-IORef-Lifted.html#atomicModifyIORef" class="link">Source</a> <a href="#v:atomicModifyIORef" class="selflink">#</a></p><div class="doc"><p>Generalized version of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-IORef.html#v:atomicModifyIORef">atomicModifyIORef</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:atomicModifyIORef-39-" class="def">atomicModifyIORef'</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; (a -&gt; (a, b)) -&gt; m b <a href="src/Data-IORef-Lifted.html#atomicModifyIORef%27" class="link">Source</a> <a href="#v:atomicModifyIORef-39-" class="selflink">#</a></p><div class="doc"><p>Generalized version of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-IORef.html#v:atomicModifyIORef-39-">atomicModifyIORef'</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:atomicWriteIORef" class="def">atomicWriteIORef</a> :: <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; a -&gt; m () <a href="src/Data-IORef-Lifted.html#atomicWriteIORef" class="link">Source</a> <a href="#v:atomicWriteIORef" class="selflink">#</a></p><div class="doc"><p>Generalized version of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-IORef.html#v:atomicWriteIORef">atomicWriteIORef</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:mkWeakIORef" class="def">mkWeakIORef</a> :: <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> m =&gt; <a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a -&gt; m () -&gt; m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-Mem-Weak.html#t:Weak">Weak</a> (<a href="Data-IORef-Lifted.html#t:IORef">IORef</a> a)) <a href="src/Data-IORef-Lifted.html#mkWeakIORef" class="link">Source</a> <a href="#v:mkWeakIORef" class="selflink">#</a></p><div class="doc"><p>Generalized version of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-IORef.html#v:mkWeakIORef">mkWeakIORef</a></code>.</p><p>Note any monadic side effects in <code>m</code> of the &quot;finalizer&quot; computation
 are discarded.</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>