It seems pure ain't so pure after all

Tommi tommitissari at hotmail.com
Sun Sep 30 22:58:39 PDT 2012


On Monday, 1 October 2012 at 05:43:39 UTC, Alex Rønne Petersen 
wrote:
>
> As far as purity goes, pow2 *is* pure. ...

According to http://en.wikipedia.org/wiki/Pure_function it's not:

"The [pure] function always evaluates the same result value given 
the same argument value(s)"


More information about the Digitalmars-d mailing list