On 10/26/2011 09:15 AM, Gor Gyolchanyan wrote: > I see. But is there any practical advantage of a function being pure? > I mean, besides an optimization hint for the compiler, of course. > It is very useful for reasoning about code, because a pure function will always behave the same when called with the same arguments.