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
On 24 May 2011 08:50, "Benjamin Edwards" <edwards.benj@gmail.com> wrote: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.
>
> On 24 May 2011 08:40, "Sean Perry" <shaleh@speakeasy.net> wrote:
>
> I am trying to understand ...