<p>That should gave been state is a type that takes a state and returns a state tupled with a value. The chapter in yaht is 9.3</p>
<p><blockquote type="cite">On 24 May 2011 08:50, &quot;Benjamin Edwards&quot; &lt;<a href="mailto:edwards.benj@gmail.com" target="_blank">edwards.benj@gmail.com</a>&gt; wrote:<br><br><p>I highly recommend reading some of the tutorials that show how to derive the state monad. The type of state is really a function that takes a parameter and returns a state tupled with a value. Yet another haskell tutorial has quite a good chapter on this.</p>

<p><font color="#500050"><br>&gt;<br>&gt; On 24 May 2011 08:40, &quot;Sean Perry&quot; &lt;<a href="mailto:shaleh@speakeasy.net" target="_blank">shaleh@speakeasy.net</a>&gt; wrote:<br>&gt;<br>&gt; I am trying to understand ...</font></p>

</blockquote></p>