/usr/share/doc/libghc-monadlib-doc/html/MonadLib-Monads.html is in libghc-monadlib-doc 3.7.3-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 | <!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>MonadLib.Monads</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_MonadLib-Monads.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/MonadLib-Monads.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">monadLib-3.7.3: A collection of monad transformers.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">MonadLib.Monads</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module contains a collection of monads that
are defined in terms of the monad transformers from
<a href="MonadLib.html">MonadLib</a>. The definitions in this module are
completely mechanical and so this module may become
obsolete if support for automated derivations for instances
becomes well supported across implementations.</p></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Reader" class="def">Reader</a> i a <a href="src/MonadLib-Monads.html#Reader" class="link">Source</a></p><div class="subs instances"><p id="control.i:Reader" class="caption collapser" onclick="toggleSection('i:Reader')">Instances</p><div id="section.i:Reader" 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/Control-Monad.html#t:Monad">Monad</a> (<a href="MonadLib-Monads.html#t:Reader">Reader</a> i)</span> <a href="src/MonadLib-Monads.html#line-46" class="link">Source</a></td><td class="doc empty"> </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-Functor.html#t:Functor">Functor</a> (<a href="MonadLib-Monads.html#t:Reader">Reader</a> i)</span> <a href="src/MonadLib-Monads.html#line-71" class="link">Source</a></td><td class="doc empty"> </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/Control-Monad-Fix.html#t:MonadFix">MonadFix</a> (<a href="MonadLib-Monads.html#t:Reader">Reader</a> i)</span> <a href="src/MonadLib-Monads.html#line-83" class="link">Source</a></td><td class="doc empty"> </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/Control-Applicative.html#t:Applicative">Applicative</a> (<a href="MonadLib-Monads.html#t:Reader">Reader</a> i)</span> <a href="src/MonadLib-Monads.html#line-77" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="MonadLib.html#t:RunReaderM">RunReaderM</a> (<a href="MonadLib-Monads.html#t:Reader">Reader</a> i) i</span> <a href="src/MonadLib-Monads.html#line-106" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="MonadLib.html#t:ReaderM">ReaderM</a> (<a href="MonadLib-Monads.html#t:Reader">Reader</a> i) i</span> <a href="src/MonadLib-Monads.html#line-88" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="MonadLib.html#t:BaseM">BaseM</a> (<a href="MonadLib-Monads.html#t:Reader">Reader</a> i) (<a href="MonadLib-Monads.html#t:Reader">Reader</a> i)</span> <a href="src/MonadLib-Monads.html#line-40" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Writer" class="def">Writer</a> i a <a href="src/MonadLib-Monads.html#Writer" class="link">Source</a></p><div class="subs instances"><p id="control.i:Writer" class="caption collapser" onclick="toggleSection('i:Writer')">Instances</p><div id="section.i:Writer" 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-Monoid.html#t:Monoid">Monoid</a> i => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> (<a href="MonadLib-Monads.html#t:Writer">Writer</a> i)</span> <a href="src/MonadLib-Monads.html#line-51" class="link">Source</a></td><td class="doc empty"> </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-Monoid.html#t:Monoid">Monoid</a> i => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> (<a href="MonadLib-Monads.html#t:Writer">Writer</a> i)</span> <a href="src/MonadLib-Monads.html#line-72" class="link">Source</a></td><td class="doc empty"> </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-Monoid.html#t:Monoid">Monoid</a> i => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad-Fix.html#t:MonadFix">MonadFix</a> (<a href="MonadLib-Monads.html#t:Writer">Writer</a> i)</span> <a href="src/MonadLib-Monads.html#line-84" class="link">Source</a></td><td class="doc empty"> </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-Monoid.html#t:Monoid">Monoid</a> i => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Applicative.html#t:Applicative">Applicative</a> (<a href="MonadLib-Monads.html#t:Writer">Writer</a> i)</span> <a href="src/MonadLib-Monads.html#line-78" class="link">Source</a></td><td class="doc empty"> </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-Monoid.html#t:Monoid">Monoid</a> i => <a href="MonadLib.html#t:RunWriterM">RunWriterM</a> (<a href="MonadLib-Monads.html#t:Writer">Writer</a> i) i</span> <a href="src/MonadLib-Monads.html#line-109" class="link">Source</a></td><td class="doc empty"> </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-Monoid.html#t:Monoid">Monoid</a> i => <a href="MonadLib.html#t:WriterM">WriterM</a> (<a href="MonadLib-Monads.html#t:Writer">Writer</a> i) i</span> <a href="src/MonadLib-Monads.html#line-89" class="link">Source</a></td><td class="doc empty"> </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-Monoid.html#t:Monoid">Monoid</a> i => <a href="MonadLib.html#t:BaseM">BaseM</a> (<a href="MonadLib-Monads.html#t:Writer">Writer</a> i) (<a href="MonadLib-Monads.html#t:Writer">Writer</a> i)</span> <a href="src/MonadLib-Monads.html#line-41" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:State" class="def">State</a> i a <a href="src/MonadLib-Monads.html#State" class="link">Source</a></p><div class="subs instances"><p id="control.i:State" class="caption collapser" onclick="toggleSection('i:State')">Instances</p><div id="section.i:State" 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/Control-Monad.html#t:Monad">Monad</a> (<a href="MonadLib-Monads.html#t:State">State</a> i)</span> <a href="src/MonadLib-Monads.html#line-56" class="link">Source</a></td><td class="doc empty"> </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-Functor.html#t:Functor">Functor</a> (<a href="MonadLib-Monads.html#t:State">State</a> i)</span> <a href="src/MonadLib-Monads.html#line-73" class="link">Source</a></td><td class="doc empty"> </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/Control-Monad-Fix.html#t:MonadFix">MonadFix</a> (<a href="MonadLib-Monads.html#t:State">State</a> i)</span> <a href="src/MonadLib-Monads.html#line-85" class="link">Source</a></td><td class="doc empty"> </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/Control-Applicative.html#t:Applicative">Applicative</a> (<a href="MonadLib-Monads.html#t:State">State</a> i)</span> <a href="src/MonadLib-Monads.html#line-79" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="MonadLib.html#t:StateM">StateM</a> (<a href="MonadLib-Monads.html#t:State">State</a> i) i</span> <a href="src/MonadLib-Monads.html#line-90" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="MonadLib.html#t:BaseM">BaseM</a> (<a href="MonadLib-Monads.html#t:State">State</a> i) (<a href="MonadLib-Monads.html#t:State">State</a> i)</span> <a href="src/MonadLib-Monads.html#line-42" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Exception" class="def">Exception</a> i a <a href="src/MonadLib-Monads.html#Exception" class="link">Source</a></p><div class="subs instances"><p id="control.i:Exception" class="caption collapser" onclick="toggleSection('i:Exception')">Instances</p><div id="section.i:Exception" 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/Control-Monad.html#t:Monad">Monad</a> (<a href="MonadLib-Monads.html#t:Exception">Exception</a> i)</span> <a href="src/MonadLib-Monads.html#line-61" class="link">Source</a></td><td class="doc empty"> </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-Functor.html#t:Functor">Functor</a> (<a href="MonadLib-Monads.html#t:Exception">Exception</a> i)</span> <a href="src/MonadLib-Monads.html#line-74" class="link">Source</a></td><td class="doc empty"> </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/Control-Monad-Fix.html#t:MonadFix">MonadFix</a> (<a href="MonadLib-Monads.html#t:Exception">Exception</a> i)</span> <a href="src/MonadLib-Monads.html#line-86" class="link">Source</a></td><td class="doc empty"> </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/Control-Applicative.html#t:Applicative">Applicative</a> (<a href="MonadLib-Monads.html#t:Exception">Exception</a> i)</span> <a href="src/MonadLib-Monads.html#line-80" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="MonadLib.html#t:RunExceptionM">RunExceptionM</a> (<a href="MonadLib-Monads.html#t:Exception">Exception</a> i) i</span> <a href="src/MonadLib-Monads.html#line-112" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="MonadLib.html#t:ExceptionM">ExceptionM</a> (<a href="MonadLib-Monads.html#t:Exception">Exception</a> i) i</span> <a href="src/MonadLib-Monads.html#line-91" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="MonadLib.html#t:BaseM">BaseM</a> (<a href="MonadLib-Monads.html#t:Exception">Exception</a> i) (<a href="MonadLib-Monads.html#t:Exception">Exception</a> i)</span> <a href="src/MonadLib-Monads.html#line-43" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Cont" class="def">Cont</a> i a <a href="src/MonadLib-Monads.html#Cont" class="link">Source</a></p><div class="subs instances"><p id="control.i:Cont" class="caption collapser" onclick="toggleSection('i:Cont')">Instances</p><div id="section.i:Cont" 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/Control-Monad.html#t:Monad">Monad</a> (<a href="MonadLib-Monads.html#t:Cont">Cont</a> i)</span> <a href="src/MonadLib-Monads.html#line-66" class="link">Source</a></td><td class="doc empty"> </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-Functor.html#t:Functor">Functor</a> (<a href="MonadLib-Monads.html#t:Cont">Cont</a> i)</span> <a href="src/MonadLib-Monads.html#line-75" class="link">Source</a></td><td class="doc empty"> </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/Control-Applicative.html#t:Applicative">Applicative</a> (<a href="MonadLib-Monads.html#t:Cont">Cont</a> i)</span> <a href="src/MonadLib-Monads.html#line-81" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="MonadLib.html#t:ContM">ContM</a> (<a href="MonadLib-Monads.html#t:Cont">Cont</a> i)</span> <a href="src/MonadLib-Monads.html#line-92" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="MonadLib.html#t:BaseM">BaseM</a> (<a href="MonadLib-Monads.html#t:Cont">Cont</a> i) (<a href="MonadLib-Monads.html#t:Cont">Cont</a> i)</span> <a href="src/MonadLib-Monads.html#line-44" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:runReader" class="def">runReader</a> :: i -> <a href="MonadLib-Monads.html#t:Reader">Reader</a> i a -> a <a href="src/MonadLib-Monads.html#runReader" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:runWriter" class="def">runWriter</a> :: <a href="MonadLib-Monads.html#t:Writer">Writer</a> i a -> (a, i) <a href="src/MonadLib-Monads.html#runWriter" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:runState" class="def">runState</a> :: i -> <a href="MonadLib-Monads.html#t:State">State</a> i a -> (a, i) <a href="src/MonadLib-Monads.html#runState" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:runException" class="def">runException</a> :: <a href="MonadLib-Monads.html#t:Exception">Exception</a> i a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> i a <a href="src/MonadLib-Monads.html#runException" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:runCont" class="def">runCont</a> :: (a -> i) -> <a href="MonadLib-Monads.html#t:Cont">Cont</a> i a -> i <a href="src/MonadLib-Monads.html#runCont" class="link">Source</a></p></div><div class="top"><p class="src">module <a href="MonadLib.html">MonadLib</a></p></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>
|