Weak Purity Blog Post

sarn via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Mar 27 18:44:02 PDT 2016


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


More information about the Digitalmars-d-announce mailing list