On Sep 30, 2012 10:56 AM, "Albert Y. C. Lai" <[email protected]> wrote: > > 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 > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
