This file is indexed.

/usr/share/doc/libghc-lifted-base-doc/html/Control-Concurrent-QSemN-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
7
<!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>Control.Concurrent.QSemN.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_Control-Concurrent-QSemN-Lifted.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Concurrent-QSemN-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">Control.Concurrent.QSemN.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/Control-Concurrent-QSemN.html">Control.Concurrent.QSemN</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:QSemN">QSemN</a> :: <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:newQSemN">newQSemN</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; m <a href="Control-Concurrent-QSemN-Lifted.html#t:QSemN">QSemN</a></li><li class="src short"><a href="#v:waitQSemN">waitQSemN</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="Control-Concurrent-QSemN-Lifted.html#t:QSemN">QSemN</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; m ()</li><li class="src short"><a href="#v:signalQSemN">signalQSemN</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="Control-Concurrent-QSemN-Lifted.html#t:QSemN">QSemN</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; m ()</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:QSemN" class="def">QSemN</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="#t:QSemN" class="selflink">#</a></p><div class="doc"><p><code><a href="Control-Concurrent-QSemN-Lifted.html#t:QSemN">QSemN</a></code> is a quantity semaphore in which the resource is aqcuired
 and released in units of one. It provides guaranteed FIFO ordering
 for satisfying blocked <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Concurrent-QSemN.html#v:waitQSemN">waitQSemN</a></code> calls.</p><p>The pattern</p><pre>  bracket_ (waitQSemN n) (signalQSemN n) (...)</pre><p>is safe; it never loses any of the resource.</p></div></div><div class="top"><p class="src"><a id="v:newQSemN" class="def">newQSemN</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; m <a href="Control-Concurrent-QSemN-Lifted.html#t:QSemN">QSemN</a> <a href="src/Control-Concurrent-QSemN-Lifted.html#newQSemN" class="link">Source</a> <a href="#v:newQSemN" 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/Control-Concurrent-QSemN.html#v:newQSemN">newQSemN</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:waitQSemN" class="def">waitQSemN</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="Control-Concurrent-QSemN-Lifted.html#t:QSemN">QSemN</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; m () <a href="src/Control-Concurrent-QSemN-Lifted.html#waitQSemN" class="link">Source</a> <a href="#v:waitQSemN" 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/Control-Concurrent-QSemN.html#v:waitQSemN">waitQSemN</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:signalQSemN" class="def">signalQSemN</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="Control-Concurrent-QSemN-Lifted.html#t:QSemN">QSemN</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; m () <a href="src/Control-Concurrent-QSemN-Lifted.html#signalQSemN" class="link">Source</a> <a href="#v:signalQSemN" 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/Control-Concurrent-QSemN.html#v:signalQSemN">signalQSemN</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>