<div dir="ltr"><font color="#003333"><font size="2"><font face="trebuchet ms,sans-serif">It looks like exactly what I'm searching for! But I'm going to have to think about it for a while in order to understand it.<br clear="all">
</font></font></font><div dir="ltr"><font><font face="'trebuchet ms', sans-serif"><i><font color="#003333"><br>-- Russ </font></i></font></font></div>
<br><br><div class="gmail_quote">On Fri, Nov 26, 2010 at 12:21 PM, Ozgur Akgun <span dir="ltr"><<a href="mailto:ozgurakgun@gmail.com">ozgurakgun@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br><div class="gmail_quote">On 26 November 2010 19:50, Russ Abbott <span dir="ltr"><<a href="mailto:russ.abbott@gmail.com" target="_blank">russ.abbott@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><font face="'trebuchet ms', sans-serif"><font color="#003333">P.S. I'll admit that I've spent virtually no time with monads and would prefer to avoid them if possible. </font></font></div>
</div>
</blockquote></div><div><br></div></div>Not monad, but 'knot's :)<div><br></div><div>If you tie the knot while creating those values, then, you don't need to update the same information in several places.</div>
<div>
<br></div><div>Have a look: <a href="http://haskell.org/wikisnapshot/TyingTheKnot.html" target="_blank">http://haskell.org/wikisnapshot/TyingTheKnot.html</a></div><div><br>
</div><div>HTH,</div><div>Ozgur</div>
</blockquote></div><br></div>