/usr/share/doc/libghc-monads-tf-doc/html/Control-Monad-Identity.html is in libghc-monads-tf-doc 0.1.0.2-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 17 18 19 | <!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.Monad.Identity</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-Monad-Identity.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Monad-Identity.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">monads-tf-0.1.0.2: Monad classes, using type families</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>ross@soi.city.ac.uk</td></tr><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr></table><p class="caption">Control.Monad.Identity</p></div><div id="description"><p class="caption">Description</p><div class="doc"><dl><dt>Computation type:</dt><dd> Simple function application.
</dd><dt>Binding strategy:</dt><dd> The bound function is applied to the input value.
<code><code><a href="/usr/share/doc/libghc-transformers-doc/html/Data-Functor-Identity.html#t:Identity">Identity</a></code> x >>= f == <code><a href="/usr/share/doc/libghc-transformers-doc/html/Data-Functor-Identity.html#t:Identity">Identity</a></code> (f x)</code>
</dd><dt>Useful for:</dt><dd> Monads can be derived from monad transformers applied to the
<code><a href="/usr/share/doc/libghc-transformers-doc/html/Data-Functor-Identity.html#t:Identity">Identity</a></code> monad.
</dd><dt>Zero and plus:</dt><dd> None.
</dd><dt>Example type:</dt><dd> <code><code><a href="/usr/share/doc/libghc-transformers-doc/html/Data-Functor-Identity.html#t:Identity">Identity</a></code> a</code>
</dd></dl><p>The <code>Identity</code> monad is a monad that does not embody any computational strategy.
It simply applies the bound function to its input without any modification.
Computationally, there is no reason to use the <code>Identity</code> monad
instead of the much simpler act of simply applying functions to their arguments.
The purpose of the <code>Identity</code> monad is its fundamental role in the theory
of monad transformers.
Any monad transformer applied to the <code>Identity</code> monad yields a non-transformer
version of that monad.
</p></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-transformers-doc/html/Data-Functor-Identity.html">Data.Functor.Identity</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>
|