This file is indexed.

/usr/share/doc/libghc-comonad-doc/html/Control-Comonad-Trans-Traced.html is in libghc-comonad-doc 5-2.

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.Comonad.Trans.Traced</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-Trans-Traced.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Comonad-Trans-Traced.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">comonad-5: Comonads</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(C) 2008-2014 Edward Kmett</td></tr><tr><th>License</th><td>BSD-style (see the file LICENSE)</td></tr><tr><th>Maintainer</th><td>Edward Kmett &lt;ekmett@gmail.com&gt;</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable</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.Trans.Traced</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Traced comonad</a></li><li><a href="#g:2">Traced comonad transformer</a></li><li><a href="#g:3">Operations</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The trace comonad builds up a result by prepending monoidal values to each
 other.</p><p>This module specifies the traced comonad transformer (aka the cowriter or
 exponential comonad transformer).</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">type</span> <a href="#t:Traced">Traced</a> m = <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor-Identity.html#t:Identity">Identity</a></li><li class="src short"><a href="#v:traced">traced</a> :: (m -&gt; a) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:Traced">Traced</a> m a</li><li class="src short"><a href="#v:runTraced">runTraced</a> :: <a href="Control-Comonad-Trans-Traced.html#t:Traced">Traced</a> m a -&gt; m -&gt; a</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:TracedT">TracedT</a> m w a = <a href="#v:TracedT">TracedT</a> {<ul class="subs"><li><a href="#v:runTracedT">runTracedT</a> :: w (m -&gt; a)</li></ul>}</li><li class="src short"><a href="#v:trace">trace</a> :: <a href="Control-Comonad.html#t:Comonad">Comonad</a> w =&gt; m -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; a</li><li class="src short"><a href="#v:listen">listen</a> :: <a href="Control-Comonad.html#t:Functor">Functor</a> w =&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (a, m)</li><li class="src short"><a href="#v:listens">listens</a> :: <a href="Control-Comonad.html#t:Functor">Functor</a> w =&gt; (m -&gt; b) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (a, b)</li><li class="src short"><a href="#v:censor">censor</a> :: <a href="Control-Comonad.html#t:Functor">Functor</a> w =&gt; (m -&gt; m) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a</li></ul></div><div id="interface"><h1 id="g:1">Traced comonad</h1><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Traced" class="def">Traced</a> m = <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Functor-Identity.html#t:Identity">Identity</a> <a href="src/Control-Comonad-Trans-Traced.html#Traced" class="link">Source</a> <a href="#t:Traced" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:traced" class="def">traced</a> :: (m -&gt; a) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:Traced">Traced</a> m a <a href="src/Control-Comonad-Trans-Traced.html#traced" class="link">Source</a> <a href="#v:traced" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:runTraced" class="def">runTraced</a> :: <a href="Control-Comonad-Trans-Traced.html#t:Traced">Traced</a> m a -&gt; m -&gt; a <a href="src/Control-Comonad-Trans-Traced.html#runTraced" class="link">Source</a> <a href="#v:runTraced" class="selflink">#</a></p></div><h1 id="g:2">Traced comonad transformer</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:TracedT" class="def">TracedT</a> m w a <a href="src/Control-Comonad-Trans-Traced.html#TracedT" class="link">Source</a> <a href="#t:TracedT" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:TracedT" class="def">TracedT</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:runTracedT" class="def">runTracedT</a> :: w (m -&gt; a)</dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:TracedT" class="caption collapser" onclick="toggleSection('i:TracedT')">Instances</p><div id="section.i:TracedT" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TracedT:ComonadEnv:1" class="instance expander" onclick="toggleSection('i:id:TracedT:ComonadEnv:1')"></span> (<a href="Control-Comonad-Env-Class.html#t:ComonadEnv">ComonadEnv</a> e w, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> m) =&gt; <a href="Control-Comonad-Env-Class.html#t:ComonadEnv">ComonadEnv</a> e (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w)</span> <a href="src/Control-Comonad-Env-Class.html#line-62" class="link">Source</a> <a href="#t:ComonadEnv" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TracedT:ComonadEnv:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:ask">ask</a> :: <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; e <a href="src/Control-Comonad-Env-Class.html#ask" class="link">Source</a> <a href="#v:ask" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TracedT:ComonadStore:2" class="instance expander" onclick="toggleSection('i:id:TracedT:ComonadStore:2')"></span> (<a href="Control-Comonad-Store-Class.html#t:ComonadStore">ComonadStore</a> s w, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> m) =&gt; <a href="Control-Comonad-Store-Class.html#t:ComonadStore">ComonadStore</a> s (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w)</span> <a href="src/Control-Comonad-Store-Class.html#line-81" class="link">Source</a> <a href="#t:ComonadStore" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TracedT:ComonadStore:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pos">pos</a> :: <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; s <a href="src/Control-Comonad-Store-Class.html#pos" class="link">Source</a> <a href="#v:pos" class="selflink">#</a></p><p class="src"><a href="#v:peek">peek</a> :: s -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; a <a href="src/Control-Comonad-Store-Class.html#peek" class="link">Source</a> <a href="#v:peek" class="selflink">#</a></p><p class="src"><a href="#v:peeks">peeks</a> :: (s -&gt; s) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; a <a href="src/Control-Comonad-Store-Class.html#peeks" class="link">Source</a> <a href="#v:peeks" class="selflink">#</a></p><p class="src"><a href="#v:seek">seek</a> :: s -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a <a href="src/Control-Comonad-Store-Class.html#seek" class="link">Source</a> <a href="#v:seek" class="selflink">#</a></p><p class="src"><a href="#v:seeks">seeks</a> :: (s -&gt; s) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a <a href="src/Control-Comonad-Store-Class.html#seeks" class="link">Source</a> <a href="#v:seeks" class="selflink">#</a></p><p class="src"><a href="#v:experiment">experiment</a> :: <a href="Control-Comonad.html#t:Functor">Functor</a> f =&gt; (s -&gt; f s) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; f a <a href="src/Control-Comonad-Store-Class.html#experiment" class="link">Source</a> <a href="#v:experiment" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TracedT:ComonadTraced:3" class="instance expander" onclick="toggleSection('i:id:TracedT:ComonadTraced:3')"></span> (<a href="Control-Comonad.html#t:Comonad">Comonad</a> w, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> m) =&gt; <a href="Control-Comonad-Traced-Class.html#t:ComonadTraced">ComonadTraced</a> m (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w)</span> <a href="src/Control-Comonad-Traced-Class.html#line-41" class="link">Source</a> <a href="#t:ComonadTraced" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TracedT:ComonadTraced:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trace">trace</a> :: m -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; a <a href="src/Control-Comonad-Traced-Class.html#trace" class="link">Source</a> <a href="#v:trace" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TracedT:ComonadTrans:4" class="instance expander" onclick="toggleSection('i:id:TracedT:ComonadTrans:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> m =&gt; <a href="Control-Comonad-Trans-Class.html#t:ComonadTrans">ComonadTrans</a> (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m)</span> <a href="src/Control-Comonad-Trans-Traced.html#line-89" class="link">Source</a> <a href="#t:TracedT" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TracedT:ComonadTrans:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:lower">lower</a> :: <a href="Control-Comonad.html#t:Comonad">Comonad</a> w =&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; w a <a href="src/Control-Comonad-Trans-Class.html#lower" class="link">Source</a> <a href="#v:lower" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TracedT:ComonadHoist:5" class="instance expander" onclick="toggleSection('i:id:TracedT:ComonadHoist:5')"></span> <a href="Control-Comonad-Hoist-Class.html#t:ComonadHoist">ComonadHoist</a> (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m)</span> <a href="src/Control-Comonad-Trans-Traced.html#line-92" class="link">Source</a> <a href="#t:TracedT" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TracedT:ComonadHoist:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:cohoist">cohoist</a> :: (<a href="Control-Comonad.html#t:Comonad">Comonad</a> w, <a href="Control-Comonad.html#t:Comonad">Comonad</a> v) =&gt; (<span class="keyword">forall</span> x. w x -&gt; v x) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m v a <a href="src/Control-Comonad-Hoist-Class.html#cohoist" class="link">Source</a> <a href="#v:cohoist" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TracedT:Functor:6" class="instance expander" onclick="toggleSection('i:id:TracedT:Functor:6')"></span> <a href="Control-Comonad.html#t:Functor">Functor</a> w =&gt; <a href="Control-Comonad.html#t:Functor">Functor</a> (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w)</span> <a href="src/Control-Comonad-Trans-Traced.html#line-75" class="link">Source</a> <a href="#t:TracedT" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TracedT:Functor:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fmap">fmap</a> :: (a -&gt; b) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b <a href="#v:fmap" class="selflink">#</a></p><p class="src"><a href="#v:-60--36-">(&lt;$)</a> :: a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a <a href="#v:-60--36-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TracedT:Applicative:7" class="instance expander" onclick="toggleSection('i:id:TracedT:Applicative:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Applicative.html#t:Applicative">Applicative</a> w =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Applicative.html#t:Applicative">Applicative</a> (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w)</span> <a href="src/Control-Comonad-Trans-Traced.html#line-81" class="link">Source</a> <a href="#t:TracedT" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TracedT:Applicative:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pure">pure</a> :: a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a <a href="#v:pure" class="selflink">#</a></p><p class="src"><a href="#v:-60--42--62-">(&lt;*&gt;)</a> :: <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (a -&gt; b) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b <a href="#v:-60--42--62-" class="selflink">#</a></p><p class="src"><a href="#v:-42--62-">(*&gt;)</a> :: <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b <a href="#v:-42--62-" class="selflink">#</a></p><p class="src"><a href="#v:-60--42-">(&lt;*)</a> :: <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a <a href="#v:-60--42-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TracedT:Distributive:8" class="instance expander" onclick="toggleSection('i:id:TracedT:Distributive:8')"></span> <a href="file:///usr/share/doc/libghc-distributive-doc/html/Data-Distributive.html#t:Distributive">Distributive</a> w =&gt; <a href="file:///usr/share/doc/libghc-distributive-doc/html/Data-Distributive.html#t:Distributive">Distributive</a> (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w)</span> <a href="src/Control-Comonad-Trans-Traced.html#line-96" class="link">Source</a> <a href="#t:TracedT" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TracedT:Distributive:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:distribute">distribute</a> :: <a href="Control-Comonad.html#t:Functor">Functor</a> f =&gt; f (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (f a) <a href="#v:distribute" class="selflink">#</a></p><p class="src"><a href="#v:collect">collect</a> :: <a href="Control-Comonad.html#t:Functor">Functor</a> f =&gt; (a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b) -&gt; f a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (f b) <a href="#v:collect" class="selflink">#</a></p><p class="src"><a href="#v:distributeM">distributeM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; m (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (m a) <a href="#v:distributeM" class="selflink">#</a></p><p class="src"><a href="#v:collectM">collectM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; (a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b) -&gt; m a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (m b) <a href="#v:collectM" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TracedT:ComonadApply:9" class="instance expander" onclick="toggleSection('i:id:TracedT:ComonadApply:9')"></span> (<a href="Control-Comonad.html#t:ComonadApply">ComonadApply</a> w, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> m) =&gt; <a href="Control-Comonad.html#t:ComonadApply">ComonadApply</a> (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w)</span> <a href="src/Control-Comonad-Trans-Traced.html#line-78" class="link">Source</a> <a href="#t:TracedT" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TracedT:ComonadApply:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-60--64--62-">(&lt;@&gt;)</a> :: <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (a -&gt; b) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b <a href="src/Control-Comonad.html#%3C%40%3E" class="link">Source</a> <a href="#v:-60--64--62-" class="selflink">#</a></p><p class="src"><a href="#v:-64--62-">(@&gt;)</a> :: <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b <a href="src/Control-Comonad.html#%40%3E" class="link">Source</a> <a href="#v:-64--62-" class="selflink">#</a></p><p class="src"><a href="#v:-60--64-">(&lt;@)</a> :: <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a <a href="src/Control-Comonad.html#%3C%40" class="link">Source</a> <a href="#v:-60--64-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:TracedT:Comonad:10" class="instance expander" onclick="toggleSection('i:id:TracedT:Comonad:10')"></span> (<a href="Control-Comonad.html#t:Comonad">Comonad</a> w, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Monoid.html#t:Monoid">Monoid</a> m) =&gt; <a href="Control-Comonad.html#t:Comonad">Comonad</a> (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w)</span> <a href="src/Control-Comonad-Trans-Traced.html#line-85" class="link">Source</a> <a href="#t:TracedT" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:TracedT:Comonad:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:extract">extract</a> :: <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; a <a href="src/Control-Comonad.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><p class="src"><a href="#v:duplicate">duplicate</a> :: <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a) <a href="src/Control-Comonad.html#duplicate" class="link">Source</a> <a href="#v:duplicate" class="selflink">#</a></p><p class="src"><a href="#v:extend">extend</a> :: (<a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; b) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w b <a href="src/Control-Comonad.html#extend" class="link">Source</a> <a href="#v:extend" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><h1 id="g:3">Operations</h1><div class="top"><p class="src"><a id="v:trace" class="def">trace</a> :: <a href="Control-Comonad.html#t:Comonad">Comonad</a> w =&gt; m -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; a <a href="src/Control-Comonad-Trans-Traced.html#trace" class="link">Source</a> <a href="#v:trace" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:listen" class="def">listen</a> :: <a href="Control-Comonad.html#t:Functor">Functor</a> w =&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (a, m) <a href="src/Control-Comonad-Trans-Traced.html#listen" class="link">Source</a> <a href="#v:listen" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:listens" class="def">listens</a> :: <a href="Control-Comonad.html#t:Functor">Functor</a> w =&gt; (m -&gt; b) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w (a, b) <a href="src/Control-Comonad-Trans-Traced.html#listens" class="link">Source</a> <a href="#v:listens" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:censor" class="def">censor</a> :: <a href="Control-Comonad.html#t:Functor">Functor</a> w =&gt; (m -&gt; m) -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a -&gt; <a href="Control-Comonad-Trans-Traced.html#t:TracedT">TracedT</a> m w a <a href="src/Control-Comonad-Trans-Traced.html#censor" class="link">Source</a> <a href="#v:censor" class="selflink">#</a></p></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>