This file is indexed.

/usr/share/doc/libghc-categories-doc/html/Control-Category-Cartesian-Closed.html is in libghc-categories-doc 0.59-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
<!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.Category.Cartesian.Closed</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-Category-Cartesian-Closed.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Category-Cartesian-Closed.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">categories-0.59: categories from category-extras</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>non-portable (class-associated types)</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.Category.Cartesian.Closed</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Cartesian Closed Category
</a></li><li><a href="#g:2">Co-(Cartesian Closed Category)
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</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="Control-Category-Cartesian.html#t:Cartesian">Cartesian</a> &lt;=, <a href="Control-Category-Braided.html#t:Symmetric">Symmetric</a> &lt;= (<a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;=), <a href="Control-Category-Monoidal.html#t:Monoidal">Monoidal</a> &lt;= (<a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;=)) =&gt; <a href="#t:CCC">CCC</a> (&lt;=)  <span class="keyword">where</span><ul class="subs"><li><span class="keyword">type</span> <a href="#t:Exp">Exp</a> (&lt;=) :: * -&gt; * -&gt; *</li><li><a href="#v:apply">apply</a> ::  <a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;= (<a href="Control-Category-Cartesian-Closed.html#t:Exp">Exp</a> &lt;= a b) a &lt;= b</li><li><a href="#v:curry">curry</a> ::  (<a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;= a b &lt;= c) -&gt; a &lt;= <a href="Control-Category-Cartesian-Closed.html#t:Exp">Exp</a> &lt;= b c</li><li><a href="#v:uncurry">uncurry</a> ::  (a &lt;= <a href="Control-Category-Cartesian-Closed.html#t:Exp">Exp</a> &lt;= b c) -&gt; <a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;= a b &lt;= c</li></ul></li><li class="src short"><a href="#v:unitCCC">unitCCC</a> :: <a href="Control-Category-Cartesian-Closed.html#t:CCC">CCC</a> &lt;= =&gt; a &lt;= <a href="Control-Category-Cartesian-Closed.html#t:Exp">Exp</a> &lt;= b (<a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;= b a)</li><li class="src short"><a href="#v:counitCCC">counitCCC</a> :: <a href="Control-Category-Cartesian-Closed.html#t:CCC">CCC</a> &lt;= =&gt; <a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;= b (<a href="Control-Category-Cartesian-Closed.html#t:Exp">Exp</a> &lt;= b a) &lt;= a</li><li class="src short"><span class="keyword">class</span> (<a href="Control-Category-Cartesian.html#t:CoCartesian">CoCartesian</a> &lt;=, <a href="Control-Category-Braided.html#t:Symmetric">Symmetric</a> &lt;= (<a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;=), <a href="Control-Category-Monoidal.html#t:Comonoidal">Comonoidal</a> &lt;= (<a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;=)) =&gt; <a href="#t:CoCCC">CoCCC</a> (&lt;=)  <span class="keyword">where</span><ul class="subs"><li><span class="keyword">type</span> <a href="#t:Coexp">Coexp</a> (&lt;=) :: * -&gt; * -&gt; *</li><li><a href="#v:coapply">coapply</a> ::  b &lt;= <a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;= (<a href="Control-Category-Cartesian-Closed.html#t:Coexp">Coexp</a> &lt;= a b) a</li><li><a href="#v:cocurry">cocurry</a> ::  (c &lt;= <a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;= a b) -&gt; <a href="Control-Category-Cartesian-Closed.html#t:Coexp">Coexp</a> &lt;= b c &lt;= a</li><li><a href="#v:uncocurry">uncocurry</a> ::  (<a href="Control-Category-Cartesian-Closed.html#t:Coexp">Coexp</a> &lt;= b c &lt;= a) -&gt; c &lt;= <a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;= a b</li></ul></li><li class="src short"><a href="#v:unitCoCCC">unitCoCCC</a> :: <a href="Control-Category-Cartesian-Closed.html#t:CoCCC">CoCCC</a> &lt;= =&gt; a &lt;= <a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;= b (<a href="Control-Category-Cartesian-Closed.html#t:Coexp">Coexp</a> &lt;= b a)</li><li class="src short"><a href="#v:counitCoCCC">counitCoCCC</a> :: (<a href="Control-Category-Cartesian-Closed.html#t:CoCCC">CoCCC</a> &lt;=, subtract ~ <a href="Control-Category-Cartesian-Closed.html#t:Coexp">Coexp</a> &lt;=, + ~ <a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;=) =&gt; subtract b (b + a) &lt;= a</li></ul></div><div id="interface"><h1 id="g:1">Cartesian Closed Category
</h1><div class="top"><p class="src"><span class="keyword">class</span> (<a href="Control-Category-Cartesian.html#t:Cartesian">Cartesian</a> &lt;=, <a href="Control-Category-Braided.html#t:Symmetric">Symmetric</a> &lt;= (<a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;=), <a href="Control-Category-Monoidal.html#t:Monoidal">Monoidal</a> &lt;= (<a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;=)) =&gt; <a name="t:CCC" class="def">CCC</a> (&lt;=)  <span class="keyword">where</span><a href="src/Control-Category-Cartesian-Closed.html#CCC" class="link">Source</a></p><div class="doc"><p>A <code><a href="Control-Category-Cartesian-Closed.html#t:CCC">CCC</a></code> has full-fledged monoidal finite products and exponentials
</p></div><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a name="t:Exp" class="def">Exp</a> (&lt;=) :: * -&gt; * -&gt; *<a href="src/Control-Category-Cartesian-Closed.html#Exp" class="link">Source</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:apply" class="def">apply</a> ::  <a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;= (<a href="Control-Category-Cartesian-Closed.html#t:Exp">Exp</a> &lt;= a b) a &lt;= b<a href="src/Control-Category-Cartesian-Closed.html#apply" class="link">Source</a></p><p class="src"><a name="v:curry" class="def">curry</a> ::  (<a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;= a b &lt;= c) -&gt; a &lt;= <a href="Control-Category-Cartesian-Closed.html#t:Exp">Exp</a> &lt;= b c<a href="src/Control-Category-Cartesian-Closed.html#curry" class="link">Source</a></p><p class="src"><a name="v:uncurry" class="def">uncurry</a> ::  (a &lt;= <a href="Control-Category-Cartesian-Closed.html#t:Exp">Exp</a> &lt;= b c) -&gt; <a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;= a b &lt;= c<a href="src/Control-Category-Cartesian-Closed.html#uncurry" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:CCC" class="caption collapser" onclick="toggleSection('i:CCC')">Instances</p><div id="section.i:CCC" class="show"><table><tr><td class="src"><a href="Control-Category-Cartesian-Closed.html#t:CCC">CCC</a> (-&gt;)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:unitCCC" class="def">unitCCC</a> :: <a href="Control-Category-Cartesian-Closed.html#t:CCC">CCC</a> &lt;= =&gt; a &lt;= <a href="Control-Category-Cartesian-Closed.html#t:Exp">Exp</a> &lt;= b (<a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;= b a)<a href="src/Control-Category-Cartesian-Closed.html#unitCCC" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:counitCCC" class="def">counitCCC</a> :: <a href="Control-Category-Cartesian-Closed.html#t:CCC">CCC</a> &lt;= =&gt; <a href="Control-Category-Cartesian.html#t:Product">Product</a> &lt;= b (<a href="Control-Category-Cartesian-Closed.html#t:Exp">Exp</a> &lt;= b a) &lt;= a<a href="src/Control-Category-Cartesian-Closed.html#counitCCC" class="link">Source</a></p></div><h1 id="g:2">Co-(Cartesian Closed Category)
</h1><div class="top"><p class="src"><span class="keyword">class</span> (<a href="Control-Category-Cartesian.html#t:CoCartesian">CoCartesian</a> &lt;=, <a href="Control-Category-Braided.html#t:Symmetric">Symmetric</a> &lt;= (<a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;=), <a href="Control-Category-Monoidal.html#t:Comonoidal">Comonoidal</a> &lt;= (<a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;=)) =&gt; <a name="t:CoCCC" class="def">CoCCC</a> (&lt;=)  <span class="keyword">where</span><a href="src/Control-Category-Cartesian-Closed.html#CoCCC" class="link">Source</a></p><div class="doc"><p>A Co-CCC has full-fledged comonoidal finite coproducts and coexponentials
</p></div><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a name="t:Coexp" class="def">Coexp</a> (&lt;=) :: * -&gt; * -&gt; *<a href="src/Control-Category-Cartesian-Closed.html#Coexp" class="link">Source</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:coapply" class="def">coapply</a> ::  b &lt;= <a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;= (<a href="Control-Category-Cartesian-Closed.html#t:Coexp">Coexp</a> &lt;= a b) a<a href="src/Control-Category-Cartesian-Closed.html#coapply" class="link">Source</a></p><p class="src"><a name="v:cocurry" class="def">cocurry</a> ::  (c &lt;= <a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;= a b) -&gt; <a href="Control-Category-Cartesian-Closed.html#t:Coexp">Coexp</a> &lt;= b c &lt;= a<a href="src/Control-Category-Cartesian-Closed.html#cocurry" class="link">Source</a></p><p class="src"><a name="v:uncocurry" class="def">uncocurry</a> ::  (<a href="Control-Category-Cartesian-Closed.html#t:Coexp">Coexp</a> &lt;= b c &lt;= a) -&gt; c &lt;= <a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;= a b<a href="src/Control-Category-Cartesian-Closed.html#uncocurry" class="link">Source</a></p></div></div><div class="top"><p class="src"><a name="v:unitCoCCC" class="def">unitCoCCC</a> :: <a href="Control-Category-Cartesian-Closed.html#t:CoCCC">CoCCC</a> &lt;= =&gt; a &lt;= <a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;= b (<a href="Control-Category-Cartesian-Closed.html#t:Coexp">Coexp</a> &lt;= b a)<a href="src/Control-Category-Cartesian-Closed.html#unitCoCCC" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:counitCoCCC" class="def">counitCoCCC</a> :: (<a href="Control-Category-Cartesian-Closed.html#t:CoCCC">CoCCC</a> &lt;=, subtract ~ <a href="Control-Category-Cartesian-Closed.html#t:Coexp">Coexp</a> &lt;=, + ~ <a href="Control-Category-Cartesian.html#t:Sum">Sum</a> &lt;=) =&gt; subtract b (b + a) &lt;= a<a href="src/Control-Category-Cartesian-Closed.html#counitCoCCC" class="link">Source</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>