G'day all.

Quoting Paul Hudak <[EMAIL PROTECTED]>:

> Sorry to nit-pick, but state monads are NOT syntactic sugar -- they're
> just an example of good old data/functional abstraction, that also
> happens to be in the form of a monad.

Right.

State monads help to future-proof your code because you don't have to
change very much when you find that you need state _and_ something
else (e.g. I/O).

Cheers,
Andrew Bromage
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to