This file is indexed.

/usr/share/doc/libghc-monoid-extras-doc/html/Data-Monoid-Recommend.html is in libghc-monoid-extras-doc 0.4.0.3-1build1.

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>Data.Monoid.Recommend</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_Data-Monoid-Recommend.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Monoid-Recommend.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">monoid-extras-0.4.0.3: Various extra monoid-related definitions and utilities</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) 2012-2015 diagrams-core team (see LICENSE)</td></tr><tr><th>License</th><td>BSD-style (see LICENSE)</td></tr><tr><th>Maintainer</th><td>diagrams-discuss@googlegroups.com</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Data.Monoid.Recommend</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A type for representing values with an additional bit saying
 whether the value is &quot;just a recommendation&quot; (to be used only if
 nothing better comes along) or a &quot;committment&quot; (to certainly be
 used, overriding merely recommended values), along with
 corresponding <code>Semigroup</code> and <code>Monoid</code> instances.</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">data</span> <a href="#t:Recommend">Recommend</a> a<ul class="subs"><li>= <a href="#v:Recommend">Recommend</a> a</li><li>| <a href="#v:Commit">Commit</a> a</li></ul></li><li class="src short"><a href="#v:getRecommend">getRecommend</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -&gt; a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Recommend" class="def">Recommend</a> a <a href="src/Data-Monoid-Recommend.html#Recommend" class="link">Source</a></p><div class="doc"><p>A value of type <code>Recommend a</code> consists of a value of type <code>a</code>
   wrapped up in one of two constructors.  The <code>Recommend</code>
   constructor indicates a &quot;non-committal recommendation&quot;---that
   is, the given value should be used if no other/better values are
   available.  The <code>Commit</code> constructor indicates a
   &quot;commitment&quot;---a value which should definitely be used,
   overriding any <code>Recommend</code>ed values.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Recommend" class="def">Recommend</a> a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Commit" class="def">Commit</a> a</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Recommend" class="caption collapser" onclick="toggleSection('i:Recommend')">Instances</p><div id="section.i:Recommend" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a></span> <a href="src/Data-Monoid-Recommend.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Foldable.html#t:Foldable">Foldable</a> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a></span> <a href="src/Data-Monoid-Recommend.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Traversable.html#t:Traversable">Traversable</a> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a></span> <a href="src/Data-Monoid-Recommend.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a)</span> <a href="src/Data-Monoid-Recommend.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Data.html#t:Data">Data</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Data.html#t:Data">Data</a> (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a)</span> <a href="src/Data-Monoid-Recommend.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a)</span> <a href="src/Data-Monoid-Recommend.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a)</span> <a href="src/Data-Monoid-Recommend.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a)</span> <a href="src/Data-Monoid-Recommend.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> a) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a)</span> <a href="src/Data-Monoid-Recommend.html#line-59" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> a =&gt; <a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a)</span> <a href="src/Data-Monoid-Recommend.html#line-53" class="link">Source</a></td><td class="doc"><p><code><a href="Data-Monoid-Recommend.html#v:Commit">Commit</a></code> overrides <code><a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a></code>. Two values wrapped in the same
   constructor (both <code><a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a></code> or both <code><a href="Data-Monoid-Recommend.html#v:Commit">Commit</a></code>) are combined
   according to the underlying <code>Semigroup</code> instance.</p></td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getRecommend" class="def">getRecommend</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -&gt; a <a href="src/Data-Monoid-Recommend.html#getRecommend" class="link">Source</a></p><div class="doc"><p>Extract the value of type <code>a</code> wrapped in <code>Recommend a</code>.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>