/usr/share/doc/libghc-monoid-extras-doc/html/Data-Monoid-Recommend.html is in libghc-monoid-extras-doc 0.4.2-4build2.
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 src="file:///usr/share/javascript/mathjax/MathJax.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.2: Various extra monoid-related definitions and utilities</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">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 "just a recommendation" (to be used only if
nothing better comes along) or a "committment" (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 -> a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Recommend" class="def">Recommend</a> a <a href="src/Data-Monoid-Recommend.html#Recommend" class="link">Source</a> <a href="#t:Recommend" class="selflink">#</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 "non-committal recommendation"---that
is, the given value should be used if no other/better values are
available. The <code>Commit</code> constructor indicates a
"commitment"---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 id="v:Recommend" class="def">Recommend</a> a</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Commit" class="def">Commit</a> a</td><td class="doc empty"> </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"><span id="control.i:id:Recommend:Functor:1" class="instance expander" onclick="toggleSection('i:id:Recommend:Functor:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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> <a href="#t:Recommend" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Recommend:Functor:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fmap">fmap</a> :: (a -> b) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> b <a href="#v:fmap" class="selflink">#</a></p><p class="src"><a href="#v:-60--36-">(<$)</a> :: a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> b -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> 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:Recommend:Foldable:2" class="instance expander" onclick="toggleSection('i:id:Recommend:Foldable:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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> <a href="#t:Recommend" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Recommend:Foldable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fold">fold</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> m => <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> m -> m <a href="#v:fold" class="selflink">#</a></p><p class="src"><a href="#v:foldMap">foldMap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> m => (a -> m) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> m <a href="#v:foldMap" class="selflink">#</a></p><p class="src"><a href="#v:foldr">foldr</a> :: (a -> b -> b) -> b -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> b <a href="#v:foldr" class="selflink">#</a></p><p class="src"><a href="#v:foldr-39-">foldr'</a> :: (a -> b -> b) -> b -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> b <a href="#v:foldr-39-" class="selflink">#</a></p><p class="src"><a href="#v:foldl">foldl</a> :: (b -> a -> b) -> b -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> b <a href="#v:foldl" class="selflink">#</a></p><p class="src"><a href="#v:foldl-39-">foldl'</a> :: (b -> a -> b) -> b -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> b <a href="#v:foldl-39-" class="selflink">#</a></p><p class="src"><a href="#v:foldr1">foldr1</a> :: (a -> a -> a) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> a <a href="#v:foldr1" class="selflink">#</a></p><p class="src"><a href="#v:foldl1">foldl1</a> :: (a -> a -> a) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> a <a href="#v:foldl1" class="selflink">#</a></p><p class="src"><a href="#v:toList">toList</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> [a] <a href="#v:toList" class="selflink">#</a></p><p class="src"><a href="#v:null">null</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:null" class="selflink">#</a></p><p class="src"><a href="#v:length">length</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:length" class="selflink">#</a></p><p class="src"><a href="#v:elem">elem</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> a => a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:elem" class="selflink">#</a></p><p class="src"><a href="#v:maximum">maximum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> a => <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> a <a href="#v:maximum" class="selflink">#</a></p><p class="src"><a href="#v:minimum">minimum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> a => <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> a <a href="#v:minimum" class="selflink">#</a></p><p class="src"><a href="#v:sum">sum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> a => <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> a <a href="#v:sum" class="selflink">#</a></p><p class="src"><a href="#v:product">product</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> a => <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> a <a href="#v:product" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Recommend:Traversable:3" class="instance expander" onclick="toggleSection('i:id:Recommend:Traversable:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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> <a href="#t:Recommend" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Recommend:Traversable:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:traverse">traverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> f (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> b) <a href="#v:traverse" class="selflink">#</a></p><p class="src"><a href="#v:sequenceA">sequenceA</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> (f a) -> f (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a) <a href="#v:sequenceA" class="selflink">#</a></p><p class="src"><a href="#v:mapM">mapM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m => (a -> m b) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> m (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> b) <a href="#v:mapM" class="selflink">#</a></p><p class="src"><a href="#v:sequence">sequence</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m => <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> (m a) -> m (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a) <a href="#v:sequence" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Recommend:Eq:4" class="instance expander" onclick="toggleSection('i:id:Recommend:Eq:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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> <a href="#t:Recommend" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Recommend:Eq:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Recommend:Data:5" class="instance expander" onclick="toggleSection('i:id:Recommend:Data:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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> <a href="#t:Recommend" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Recommend:Data:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gfoldl">gfoldl</a> :: (<span class="keyword">forall</span> d b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => c (d -> b) -> d -> c b) -> (<span class="keyword">forall</span> g. g -> c g) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> c (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a) <a href="#v:gfoldl" class="selflink">#</a></p><p class="src"><a href="#v:gunfold">gunfold</a> :: (<span class="keyword">forall</span> b r. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> b => c (b -> r) -> c r) -> (<span class="keyword">forall</span> r. r -> c r) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Constr">Constr</a> -> c (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a) <a href="#v:gunfold" class="selflink">#</a></p><p class="src"><a href="#v:toConstr">toConstr</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Constr">Constr</a> <a href="#v:toConstr" class="selflink">#</a></p><p class="src"><a href="#v:dataTypeOf">dataTypeOf</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:DataType">DataType</a> <a href="#v:dataTypeOf" class="selflink">#</a></p><p class="src"><a href="#v:dataCast1">dataCast1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) t => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => c (t d)) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (c (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a)) <a href="#v:dataCast1" class="selflink">#</a></p><p class="src"><a href="#v:dataCast2">dataCast2</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) t => (<span class="keyword">forall</span> d e. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> e) => c (t d e)) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (c (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a)) <a href="#v:dataCast2" class="selflink">#</a></p><p class="src"><a href="#v:gmapT">gmapT</a> :: (<span class="keyword">forall</span> b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> b => b -> b) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a <a href="#v:gmapT" class="selflink">#</a></p><p class="src"><a href="#v:gmapQl">gmapQl</a> :: (r -> r' -> r) -> r -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> r') -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> r <a href="#v:gmapQl" class="selflink">#</a></p><p class="src"><a href="#v:gmapQr">gmapQr</a> :: (r' -> r -> r) -> r -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> r') -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> r <a href="#v:gmapQr" class="selflink">#</a></p><p class="src"><a href="#v:gmapQ">gmapQ</a> :: (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> u) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> [u] <a href="#v:gmapQ" class="selflink">#</a></p><p class="src"><a href="#v:gmapQi">gmapQi</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> u) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> u <a href="#v:gmapQi" class="selflink">#</a></p><p class="src"><a href="#v:gmapM">gmapM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> m (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a) <a href="#v:gmapM" class="selflink">#</a></p><p class="src"><a href="#v:gmapMp">gmapMp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> m (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a) <a href="#v:gmapMp" class="selflink">#</a></p><p class="src"><a href="#v:gmapMo">gmapMo</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> m (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a) <a href="#v:gmapMo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Recommend:Ord:6" class="instance expander" onclick="toggleSection('i:id:Recommend:Ord:6')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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> <a href="#t:Recommend" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Recommend:Ord:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Recommend:Read:7" class="instance expander" onclick="toggleSection('i:id:Recommend:Read:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Read.html#t:Read">Read</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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> <a href="#t:Recommend" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Recommend:Read:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a) <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> [<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a) <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> [<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a] <a href="#v:readListPrec" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Recommend:Show:8" class="instance expander" onclick="toggleSection('i:id:Recommend:Show:8')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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> <a href="#t:Recommend" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Recommend:Show:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Recommend:Semigroup:9" class="instance expander" onclick="toggleSection('i:id:Recommend:Semigroup:9')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Semigroup.html#t:Semigroup">Semigroup</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/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> <a href="#t:Recommend" class="selflink">#</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><tr><td colspan="2"><div id="section.i:id:Recommend:Semigroup:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-60--62-">(<>)</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a <a href="#v:-60--62-" class="selflink">#</a></p><p class="src"><a href="#v:sconcat">sconcat</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a> (<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a) -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a <a href="#v:sconcat" class="selflink">#</a></p><p class="src"><a href="#v:stimes">stimes</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integral">Integral</a> b => b -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a <a href="#v:stimes" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Recommend:Monoid:10" class="instance expander" onclick="toggleSection('i:id:Recommend:Monoid:10')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Semigroup.html#t:Semigroup">Semigroup</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> a) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.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> <a href="#t:Recommend" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Recommend:Monoid:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mempty">mempty</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a <a href="#v:mempty" class="selflink">#</a></p><p class="src"><a href="#v:mappend">mappend</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a <a href="#v:mappend" class="selflink">#</a></p><p class="src"><a href="#v:mconcat">mconcat</a> :: [<a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a] -> <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a <a href="#v:mconcat" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:getRecommend" class="def">getRecommend</a> :: <a href="Data-Monoid-Recommend.html#t:Recommend">Recommend</a> a -> a <a href="src/Data-Monoid-Recommend.html#getRecommend" class="link">Source</a> <a href="#v:getRecommend" class="selflink">#</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.17.3</p></div></body></html>
|