see also: <a href="http://hackage.haskell.org/packages/archive/mtl/latest/doc/html/Control-Monad-State-Lazy.html#v:state">http://hackage.haskell.org/packages/archive/mtl/latest/doc/html/Control-Monad-State-Lazy.html#v:state</a><br>
<br><div class="gmail_quote">On 22 December 2010 20:02, Ryan Ingram <span dir="ltr">&lt;<a href="mailto:ryani.spam@gmail.com">ryani.spam@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":27">Interesting.  In that case,<br>
<br>
state f = StateT $ \s -&gt; Identity (f s)<br>
<br>
allows &quot;state&quot; to replace &quot;State&quot; in that code.</div></blockquote></div><br clear="all">Ozgur