/usr/share/doc/libghc-lifted-base-doc/html/Control-Concurrent-Chan-Lifted.html is in libghc-lifted-base-doc 0.2.3.8-3.
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>Control.Concurrent.Chan.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-Chan-Lifted.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Concurrent-Chan-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.8: lifted IO operations from the base library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>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 <v.dijk.bas@gmail.com></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.Chan.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.0.0/Control-Concurrent-Chan.html">Control.Concurrent.Chan</a> with types
generalised from <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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><p><code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Concurrent-Chan.html#v:unGetChan">unGetChan</a></code> and <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Concurrent-Chan.html#v:isEmptyChan">isEmptyChan</a></code> are deprecated in <code>base</code>, therefore
they are not included here. Use <code><a href="Control-Concurrent-STM.html#v:TVar">TVar</a></code> instead.</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:Chan">Chan</a> a :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a></li><li class="src short"><a href="#v:newChan">newChan</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.0.0/System-IO.html#t:IO">IO</a> m => m (<a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a)</li><li class="src short"><a href="#v:writeChan">writeChan</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.0.0/System-IO.html#t:IO">IO</a> m => <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> a -> m ()</li><li class="src short"><a href="#v:readChan">readChan</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.0.0/System-IO.html#t:IO">IO</a> m => <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> m a</li><li class="src short"><a href="#v:dupChan">dupChan</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.0.0/System-IO.html#t:IO">IO</a> m => <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> m (<a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a)</li><li class="src short"><a href="#v:getChanContents">getChanContents</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.0.0/System-IO.html#t:IO">IO</a> m => <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> m [a]</li><li class="src short"><a href="#v:writeList2Chan">writeList2Chan</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.0.0/System-IO.html#t:IO">IO</a> m => <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> [a] -> m ()</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Chan" class="def">Chan</a> a :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Chan" class="selflink">#</a></p><div class="doc"><p><code><a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a></code> is an abstract type representing an unbounded FIFO channel.</p></div><div class="subs instances"><p id="control.i:Chan" class="caption collapser" onclick="toggleSection('i:Chan')">Instances</p><div id="section.i:Chan" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Chan:Eq:1" class="instance expander" onclick="toggleSection('i:id:Chan:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a)</span></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Chan: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="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.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:newChan" class="def">newChan</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.0.0/System-IO.html#t:IO">IO</a> m => m (<a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a) <a href="src/Control-Concurrent-Chan-Lifted.html#newChan" class="link">Source</a> <a href="#v:newChan" 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.0.0/Control-Concurrent-Chan.html#v:newChan">newChan</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:writeChan" class="def">writeChan</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.0.0/System-IO.html#t:IO">IO</a> m => <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> a -> m () <a href="src/Control-Concurrent-Chan-Lifted.html#writeChan" class="link">Source</a> <a href="#v:writeChan" 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.0.0/Control-Concurrent-Chan.html#v:writeChan">writeChan</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:readChan" class="def">readChan</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.0.0/System-IO.html#t:IO">IO</a> m => <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> m a <a href="src/Control-Concurrent-Chan-Lifted.html#readChan" class="link">Source</a> <a href="#v:readChan" 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.0.0/Control-Concurrent-Chan.html#v:readChan">readChan</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:dupChan" class="def">dupChan</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.0.0/System-IO.html#t:IO">IO</a> m => <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> m (<a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a) <a href="src/Control-Concurrent-Chan-Lifted.html#dupChan" class="link">Source</a> <a href="#v:dupChan" 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.0.0/Control-Concurrent-Chan.html#v:dupChan">dupChan</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:getChanContents" class="def">getChanContents</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.0.0/System-IO.html#t:IO">IO</a> m => <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> m [a] <a href="src/Control-Concurrent-Chan-Lifted.html#getChanContents" class="link">Source</a> <a href="#v:getChanContents" 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.0.0/Control-Concurrent-Chan.html#v:getChanContents">getChanContents</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:writeList2Chan" class="def">writeList2Chan</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.0.0/System-IO.html#t:IO">IO</a> m => <a href="Control-Concurrent-Chan-Lifted.html#t:Chan">Chan</a> a -> [a] -> m () <a href="src/Control-Concurrent-Chan-Lifted.html#writeList2Chan" class="link">Source</a> <a href="#v:writeList2Chan" 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.0.0/Control-Concurrent-Chan.html#v:writeList2Chan">writeList2Chan</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.2</p></div></body></html>
|