<br><br><div class="gmail_quote">On Fri, Jul 2, 2010 at 9:21 AM, Nils Schweinsberg <span dir="ltr">&lt;<a href="mailto:ml@n-sch.de">ml@n-sch.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I have been trying to use the State monad for concurrent applications and came up with a little library.[1] My &quot;MState&quot; uses an IORef to maintain the state between different threads. The library also offers a simple way to fork off new threads using its own &quot;forkM&quot; function. This function will asure that every thread in an &quot;evalMState&quot;/&quot;execMState&quot; call will be finished before the final result is returned.<br>

<br>
The library is also on github.com.[2] Please let me know what you think of it and whether or not I should put it on hackage.<br></blockquote><div><br></div><div>My thoughts on hackage:</div><div>  * For Haskell, if it&#39;s not on Hackage it doesn&#39;t exist :)</div>
<div>  * It&#39;s usually better to put it up on Hackage where someone will use it and then keep refining it as needed.</div><div><br></div><div>In other words, don&#39;t be shy!</div><div><br></div><div>Jason</div></div>