/usr/share/doc/libghc-free-doc/html/Control-Comonad-Cofree-Class.html is in libghc-free-doc 4.12.4-3build4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | <!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.Comonad.Cofree.Class</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-Comonad-Cofree-Class.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Comonad-Cofree-Class.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">free-4.12.4: Monads for free</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(C) 2008-2011 Edward Kmett</td></tr><tr><th>License</th><td>BSD-style (see the file LICENSE)</td></tr><tr><th>Maintainer</th><td>Edward Kmett <ekmett@gmail.com></td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>fundeps, MPTCs</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Control.Comonad.Cofree.Class</p></div><div id="description"><p class="caption">Description</p><div class="doc empty"> </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">class</span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor.html#t:Functor">Functor</a> f, <a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> w) => <a href="#t:ComonadCofree">ComonadCofree</a> f w | w -> f <span class="keyword">where</span><ul class="subs"></ul></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor.html#t:Functor">Functor</a> f, <a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> w) => <a id="t:ComonadCofree" class="def">ComonadCofree</a> f w | w -> f <span class="keyword">where</span> <a href="src/Control-Comonad-Cofree-Class.html#ComonadCofree" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></p><div class="doc"><p>Allows you to peel a layer off a cofree comonad.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Control-Comonad-Cofree-Class.html#v:unwrap">unwrap</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:unwrap" class="def">unwrap</a> :: w a -> f (w a) <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p><div class="doc"><p>Remove a layer.</p></div></div><div class="subs instances"><p id="control.i:ComonadCofree" class="caption collapser" onclick="toggleSection('i:ComonadCofree')">Instances</p><div id="section.i:ComonadCofree" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:ComonadCofree:ComonadCofree:1" class="instance expander" onclick="toggleSection('i:ic:ComonadCofree:ComonadCofree:1')"></span> <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> [] <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Tree.html#t:Tree">Tree</a></span> <a href="src/Control-Comonad-Cofree-Class.html#line-41" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:ComonadCofree:ComonadCofree:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Tree.html#t:Tree">Tree</a> a -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Tree.html#t:Tree">Tree</a> a] <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:ComonadCofree:ComonadCofree:2" class="instance expander" onclick="toggleSection('i:ic:ComonadCofree:ComonadCofree:2')"></span> <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a></span> <a href="src/Control-Comonad-Cofree-Class.html#line-37" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:ComonadCofree:ComonadCofree:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> a) <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:ComonadCofree:ComonadCofree:3" class="instance expander" onclick="toggleSection('i:ic:ComonadCofree:ComonadCofree:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor.html#t:Functor">Functor</a> f => <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> f (<a href="Control-Comonad-Cofree.html#t:Cofree">Cofree</a> f)</span> <a href="src/Control-Comonad-Cofree-Class.html#line-131" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:ComonadCofree:ComonadCofree:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Control-Comonad-Cofree.html#t:Cofree">Cofree</a> f a -> f (<a href="Control-Comonad-Cofree.html#t:Cofree">Cofree</a> f a) <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:ComonadCofree:ComonadCofree:4" class="instance expander" onclick="toggleSection('i:ic:ComonadCofree:ComonadCofree:4')"></span> <a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> w => <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor-Identity.html#t:Identity">Identity</a> (<a href="Control-Comonad-Trans-Coiter.html#t:CoiterT">CoiterT</a> w)</span> <a href="src/Control-Comonad-Cofree-Class.html#line-121" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:ComonadCofree:ComonadCofree:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Control-Comonad-Trans-Coiter.html#t:CoiterT">CoiterT</a> w a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor-Identity.html#t:Identity">Identity</a> (<a href="Control-Comonad-Trans-Coiter.html#t:CoiterT">CoiterT</a> w a) <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:ComonadCofree:ComonadCofree:5" class="instance expander" onclick="toggleSection('i:ic:ComonadCofree:ComonadCofree:5')"></span> (<a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> f w, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> m) => <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> f (<a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w)</span> <a href="src/Control-Comonad-Cofree-Class.html#line-56" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:ComonadCofree:ComonadCofree:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -> f (<a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a) <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:ComonadCofree:ComonadCofree:6" class="instance expander" onclick="toggleSection('i:ic:ComonadCofree:ComonadCofree:6')"></span> <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> f w => <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> f (<a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Store.html#t:StoreT">StoreT</a> s w)</span> <a href="src/Control-Comonad-Cofree-Class.html#line-53" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:ComonadCofree:ComonadCofree:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Store.html#t:StoreT">StoreT</a> s w a -> f (<a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Store.html#t:StoreT">StoreT</a> s w a) <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:ComonadCofree:ComonadCofree:7" class="instance expander" onclick="toggleSection('i:ic:ComonadCofree:ComonadCofree:7')"></span> <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> f w => <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> f (<a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Env.html#t:EnvT">EnvT</a> e w)</span> <a href="src/Control-Comonad-Cofree-Class.html#line-50" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:ComonadCofree:ComonadCofree:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Env.html#t:EnvT">EnvT</a> e w a -> f (<a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Env.html#t:EnvT">EnvT</a> e w a) <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:ComonadCofree:ComonadCofree:8" class="instance expander" onclick="toggleSection('i:ic:ComonadCofree:ComonadCofree:8')"></span> <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> f w => <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> f (<a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Identity.html#t:IdentityT">IdentityT</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> w)</span> <a href="src/Control-Comonad-Cofree-Class.html#line-47" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:ComonadCofree:ComonadCofree:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Identity.html#t:IdentityT">IdentityT</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> w a -> f (<a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Identity.html#t:IdentityT">IdentityT</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> w a) <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:ComonadCofree:ComonadCofree:9" class="instance expander" onclick="toggleSection('i:ic:ComonadCofree:ComonadCofree:9')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor.html#t:Functor">Functor</a> f, <a href="file:///usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> w) => <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> f (<a href="Control-Comonad-Trans-Cofree.html#t:CofreeT">CofreeT</a> f w)</span> <a href="src/Control-Comonad-Cofree-Class.html#line-146" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:ComonadCofree:ComonadCofree:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Control-Comonad-Trans-Cofree.html#t:CofreeT">CofreeT</a> f w a -> f (<a href="Control-Comonad-Trans-Cofree.html#t:CofreeT">CofreeT</a> f w a) <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:ComonadCofree:ComonadCofree:10" class="instance expander" onclick="toggleSection('i:ic:ComonadCofree:ComonadCofree:10')"></span> <a href="Control-Comonad-Cofree-Class.html#t:ComonadCofree">ComonadCofree</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor-Const.html#t:Const">Const</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> b) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.5.0.0/GHC-Tuple.html#t:-40--44--41-">(,)</a> b)</span> <a href="src/Control-Comonad-Cofree-Class.html#line-44" class="link">Source</a> <a href="#t:ComonadCofree" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:ComonadCofree:ComonadCofree:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:unwrap">unwrap</a> :: (b, a) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor-Const.html#t:Const">Const</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> b (b, a) <a href="src/Control-Comonad-Cofree-Class.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p></div></div></td></tr></table></div></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>
|