Yes, I&#39;ve read it twice, and it is a nice explanation that &quot;yes, the reader monad is an application and is a monad&quot;. How do I use it? Why not the function itself? How would the plumbing work in a real world example?<br>
<br>BTW, the article is really great as an brief introduction to monad transformers. For the whole concept of monads, my all time favorite is &quot;The Haskell Programmer's Guide to the IO Monad&quot; by Stefan Klinger.<br>
<br>Chapters 14 to 19 of &quot;Real World Haskell&quot; also have a good introduction on the usage of the monads, but it lacks other monads, like the RWS or the Continuation...<br><br>See, that is my point. The mathematical concept of monads is very palatable. The idea that monads are either patterns or structures to hide computations in sequence is also very easy to see. But how do we use them? <br>
Why should I use a Writer monad when I can use a (a,w) tuple?<br><br><br><br><div class="gmail_quote">On Tue, Jan 13, 2009 at 13:51, Jonathan Cast <span dir="ltr">&lt;<a href="mailto:jonathanccast@fastmail.fm">jonathanccast@fastmail.fm</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Tue, 2009-01-13 at 12:56 -0200, Rafael Gustavo da Cunha Pereira Pinto<br>
wrote:<br>
<div class="Ih2E3d">&gt;<br>
&gt; Last night I was thinking on what makes monads so hard to take, and<br>
&gt; came to a conclusion: the lack of a guided tour on the implemented<br>
&gt; monads.<br>
<br>
</div>...<br>
<div class="Ih2E3d"><br>
&gt; Inspired by the paper &quot;Functional Programming with Overloading and<br>
&gt; Higher-Order Polymorphism&quot;,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Mark P Jones<br>
&gt; (<a href="http://web.cecs.pdx.edu/%7Empj/pubs/springschool.html" target="_blank">http://web.cecs.pdx.edu/~mpj/pubs/springschool.html</a>)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Advanced School of Functional Programming, 1995.<br>
&gt;<br>
&gt; SO WHAT?<br>
<br>
</div>So have you read Jones&#39; paper? &nbsp;Or do you have a *concrete* explanation<br>
of how it differs from your desired `guided tour&#39;?<br>
<br>
jcc<br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Rafael Gustavo da Cunha Pereira Pinto<br>Electronic Engineer, MSc.<br>