
30 Sep
2012
30 Sep
'12
6:33 p.m.
On Sep 30, 2012 10:56 AM, "Albert Y. C. Lai"
On 12-09-29 09:57 PM, Vasili I. Galchin wrote:
I would an examples of monads that are pure, i.e. no
side-effects.
What does "side effect" mean, to you? Definition?
When discussing monads, at least, a side effect is an effect that is triggered by merely evaluating an expression. A monad is an interface that decouples effects from evaluation.
Because some people say "State has no side effect", and some other people
say "State has side effects". The two groups use different definitions.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe