Re: [Haskell-beginners] how does the State monad actually work?
24 May
2011
24 May
'11
4:28 p.m.
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 ...
5540
Age (days ago)
5540
Last active (days ago)
0 comments
1 participants
participants (1)
-
Benjamin Edwards