<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, "Benjamin Edwards" <<a href="mailto:edwards.benj@gmail.com" target="_blank">edwards.benj@gmail.com</a>> 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>><br>> On 24 May 2011 08:40, "Sean Perry" <<a href="mailto:shaleh@speakeasy.net" target="_blank">shaleh@speakeasy.net</a>> wrote:<br>><br>> I am trying to understand ...</font></p>
</blockquote></p>