[erlang-questions] Re: Concept of Side-effect

Kaiduan Xie kaiduanx@REDACTED
Fri Sep 18 03:17:39 CEST 2009


Thanks all for the reply. Can someone provide an example in code? For
example, a side-effect free function, and its counterpart function
with side-effect.

Thanks,

kaiduan

On Thu, Sep 17, 2009 at 11:07 AM, Gene Tani <gene.tani@REDACTED> wrote:
>
>
> On Sep 16, 3:26 pm, Kaiduan Xie <kaidu...@REDACTED> wrote:
>> Hi,
>>
>> Can someone explain what does side-effect means in Erlang? What is
>> side-effect free function, and why we need to write side-effect free
>> function? A concrete example is preferred.
>>
>> Thanks,
>>
>> kaiduan
>>
>> ________________________________________________________________
>> erlang-questions mailing list. Seehttp://www.erlang.org/faq.html
>> erlang-questions (at) erlang.org
>
> http://blog.tornkvist.org/blog.yaws?id=1239107937892262
>
> http://www.cs.chalmers.se/Cs/Grundutb/Kurser/ppxt/HT2007/general/languages/armstrong-erlang_history.pdf
> (PDF page 14)
>
> and a FP vs. OO debate:
>
> http://news.ycombinator.com/item?id=493963
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
>


More information about the erlang-questions mailing list