This file is indexed.

/usr/share/doc/libghc-comonads-fd-doc/html/Control-Comonad-Env-Lazy.html is in libghc-comonads-fd-doc 2.0.2.1-1.

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
 8
 9
10
11
12
13
14
15
16
<!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.Env.Lazy</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Control-Comonad-Env-Lazy.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Comonad-Env-Lazy.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">comonads-fd-2.0.2.1: Comonad transformers using functional dependencies</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>non-portable (fundeps, MPTCs)</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>Edward Kmett &lt;ekmett@gmail.com&gt;</td></tr><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Control.Comonad.Env.Lazy</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">ComonadEnv class
</a></li><li><a href="#g:2">The Env comonad
</a></li><li><a href="#g:3">The EnvT comonad transformer
</a></li><li><a href="#g:4">Re-exported modules
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The Env comonad (aka the Coreader, Environment, or Product comonad)
</p><p>A co-Kleisli arrow in the Env comonad is isomorphic to a Kleisli arrow
 in the reader monad.
</p><p>(a -&gt; e -&gt; m) ~ (a, e) -&gt; m ~ Env e a -&gt; m
</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">class</span> <a href="/usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> w =&gt; <a href="#t:ComonadEnv">ComonadEnv</a> e w | w -&gt; e <span class="keyword">where</span><ul class="subs"><li><a href="#v:ask">ask</a> ::  w a -&gt; e</li></ul></li><li class="src short"><a href="#v:asks">asks</a> :: <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w =&gt; (e -&gt; e') -&gt; w a -&gt; e'</li><li class="src short"><a href="#v:local">local</a> ::  (e -&gt; e) -&gt; <a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w a -&gt; <a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w a</li><li class="src short"><span class="keyword">type</span> <a href="#t:Env">Env</a> e = <a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e <a href="/usr/share/doc/libghc-transformers-doc/html/Data-Functor-Identity.html#t:Identity">Identity</a></li><li class="src short"><a href="#v:env">env</a> ::  e -&gt; a -&gt; <a href="Control-Comonad-Env-Lazy.html#t:Env">Env</a> e a</li><li class="src short"><a href="#v:runEnv">runEnv</a> ::  <a href="Control-Comonad-Env-Lazy.html#t:Env">Env</a> e a -&gt; (e, a)</li><li class="src short"><span class="keyword">data</span>  <a href="#t:EnvT">EnvT</a> e w a = <a href="#v:EnvT">EnvT</a> e (w a)</li><li class="src short"><a href="#v:runEnvT">runEnvT</a> ::  <a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w a -&gt; (e, w a)</li><li class="src short">module <a href="/usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html">Control.Comonad</a></li><li class="src short">module <a href="/usr/share/doc/libghc-comonad-transformers-doc/html/Control-Comonad-Trans-Class.html">Control.Comonad.Trans.Class</a></li></ul></div><div id="interface"><h1 id="g:1">ComonadEnv class
</h1><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> w =&gt; <a name="t:ComonadEnv" class="def">ComonadEnv</a> e w | w -&gt; e <span class="keyword">where</span><a href="src/Control-Comonad-Env-Class.html#ComonadEnv" class="link">Source</a></p><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:ask" class="def">ask</a> ::  w a -&gt; e<a href="src/Control-Comonad-Env-Class.html#ask" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:ComonadEnv" class="caption collapser" onclick="toggleSection('i:ComonadEnv')">Instances</p><div id="section.i:ComonadEnv" class="show"><table><tr><td class="src"><a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="/usr/share/doc/libghc-comonad-transformers-doc/html/Control-Comonad-Trans-Identity.html#t:IdentityT">IdentityT</a> w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--44--41-">(,)</a> e)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Monoid.html#t:Monoid">Monoid</a> m) =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="Control-Comonad-Traced-Memo.html#t:TracedT">TracedT</a> m w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w, <a href="/usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> m, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Monoid.html#t:Monoid">Monoid</a> m) =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="Control-Comonad-Traced.html#t:TracedT">TracedT</a> m w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="/usr/share/doc/libghc-comonad-transformers-doc/html/Control-Comonad-Trans-Discont-Memo.html#t:DiscontT">DiscontT</a> t w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="Control-Comonad-Store-Memo.html#t:StoreT">StoreT</a> t w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="/usr/share/doc/libghc-comonad-transformers-doc/html/Control-Comonad-Trans-Discont-Lazy.html#t:DiscontT">DiscontT</a> t w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="Control-Comonad-Store-Lazy.html#t:StoreT">StoreT</a> t w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="/usr/share/doc/libghc-comonad-transformers-doc/html/Control-Comonad-Trans-Discont-Strict.html#t:DiscontT">DiscontT</a> t w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="Control-Comonad-Store-Strict.html#t:StoreT">StoreT</a> t w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> w =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="Control-Comonad-Env-Strict.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> w =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:asks" class="def">asks</a> :: <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e w =&gt; (e -&gt; e') -&gt; w a -&gt; e'<a href="src/Control-Comonad-Env-Class.html#asks" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:local" class="def">local</a> ::  (e -&gt; e) -&gt; <a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w a -&gt; <a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w a</p></div><h1 id="g:2">The Env comonad
</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Env" class="def">Env</a> e = <a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e <a href="/usr/share/doc/libghc-transformers-doc/html/Data-Functor-Identity.html#t:Identity">Identity</a></p></div><div class="top"><p class="src"><a name="v:env" class="def">env</a> ::  e -&gt; a -&gt; <a href="Control-Comonad-Env-Lazy.html#t:Env">Env</a> e a</p></div><div class="top"><p class="src"><a name="v:runEnv" class="def">runEnv</a> ::  <a href="Control-Comonad-Env-Lazy.html#t:Env">Env</a> e a -&gt; (e, a)</p></div><h1 id="g:3">The EnvT comonad transformer
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:EnvT" class="def">EnvT</a> e w a </p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:EnvT" class="def">EnvT</a> e (w a)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:EnvT" class="caption collapser" onclick="toggleSection('i:EnvT')">Instances</p><div id="section.i:EnvT" class="show"><table><tr><td class="src"><a href="Control-Comonad-Traced-Class.html#t:ComonadTraced">ComonadTraced</a> m w =&gt; <a href="Control-Comonad-Traced-Class.html#t:ComonadTraced">ComonadTraced</a> m (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Control-Comonad-Store-Class.html#t:ComonadStore">ComonadStore</a> s w =&gt; <a href="Control-Comonad-Store-Class.html#t:ComonadStore">ComonadStore</a> s (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> w =&gt; <a href="Control-Comonad-Env-Lazy.html#t:ComonadEnv">ComonadEnv</a> e (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-comonad-transformers-doc/html/Control-Comonad-Hoist-Class.html#t:ComonadHoist">ComonadHoist</a> (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-comonad-transformers-doc/html/Control-Comonad-Trans-Class.html#t:ComonadTrans">ComonadTrans</a> (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Functor">Functor</a> w =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Functor">Functor</a> (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> s, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Typeable-Internal.html#t:Typeable1">Typeable1</a> w) =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Typeable-Internal.html#t:Typeable1">Typeable1</a> (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> s w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Foldable.html#t:Foldable">Foldable</a> w =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Foldable.html#t:Foldable">Foldable</a> (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Traversable.html#t:Traversable">Traversable</a> w =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Traversable.html#t:Traversable">Traversable</a> (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> w =&gt; <a href="/usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html#t:Comonad">Comonad</a> (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-comonad-doc/html/Data-Functor-Extend.html#t:Extend">Extend</a> w =&gt; <a href="/usr/share/doc/libghc-comonad-doc/html/Data-Functor-Extend.html#t:Extend">Extend</a> (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="/usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> e, Apply w) =&gt; Apply (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Data.html#t:Data">Data</a> e, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Typeable-Internal.html#t:Typeable1">Typeable1</a> w, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Data.html#t:Data">Data</a> (w a), <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Data.html#t:Data">Data</a> a) =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Data.html#t:Data">Data</a> (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> s, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Typeable-Internal.html#t:Typeable1">Typeable1</a> w, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> a) =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> s w a)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:runEnvT" class="def">runEnvT</a> ::  <a href="Control-Comonad-Env-Lazy.html#t:EnvT">EnvT</a> e w a -&gt; (e, w a)</p></div><h1 id="g:4">Re-exported modules
</h1><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-comonad-doc/html/Control-Comonad.html">Control.Comonad</a></p></div><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-comonad-transformers-doc/html/Control-Comonad-Trans-Class.html">Control.Comonad.Trans.Class</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>