Newbie question on "statefullness"

Alex Peake apeake@comac.com
Sun, 11 Aug 2002 17:36:21 -0700


I am new to Haskell. I want to do something very simple (I thought) but got lost in the world of
Monads.

I want to implement something like the C idea of:
n += i

So how does one doe this in Haskell?

Thanks,

Alex