[Haskell-beginners] how does the State monad actually work?

Erlend Hamberg ehamberg at gmail.com
Tue May 24 11:03:19 CEST 2011


On 24 May 2011 11:00, Erlend Hamberg <ehamberg at gmail.com> wrote:
> it's easier to see that evalState foo returns a *function* that takes an
> initial state and then operates on this.

D'oh. I meant execState, of course. :-)

-- 
Erlend Hamberg
ehamberg at gmail.com



More information about the Beginners mailing list