[Haskell-cafe] Monads

Jake McArthur jake.mcarthur at gmail.com
Mon Oct 1 00:33:51 CEST 2012


On Sep 30, 2012 10:56 AM, "Albert Y. C. Lai" <trebla at vex.net> 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
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120930/9eaf8c5a/attachment.htm>


More information about the Haskell-Cafe mailing list