Weak Purity Blog Post

Walter Bright via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Mar 28 01:35:38 PDT 2016


On 3/27/2016 6:44 PM, sarn wrote:
> D's implementation of functional purity supports "weak" purity - functions that
> can mutate arguments but are otherwise traditionally pure.
>
> I wrote a post about some of the practical benefits of this kind of purity:
>
> https://theartofmachinery.com/2016/03/28/dirtying_pure_functions_can_be_useful.html

It's a nice article, you should put your name on it as the author!


More information about the Digitalmars-d-announce mailing list