Rigor is important in language design. If you cannot say ALWAYS, then the compiler will have to assume NEVER.
And mutating through parameters does not affect functional purity
in the theoretical sense if the function holds the only reference
to it. It is comparable to taking one value and returning a new
version of it.
- Re: Memory allocation purity Jonathan M Davis via Digitalmars-d
- Re: Memory allocation purity Adam Sakareassen via Digitalmars-d
- Re: Memory allocation purity via Digitalmars-d
- Re: Memory allocation purity via Digitalmars-d
- Re: Memory allocation purity bearophile via Digitalmars-d
- Re: Memory allocation puri... via Digitalmars-d
- Re: Memory allocation purity bearophile via Digitalmars-d
- Re: Memory allocation purity via Digitalmars-d
- Re: Memory allocation purity Jonathan M Davis via Digitalmars-d
- Re: Memory allocation purity via Digitalmars-d
- Re: Memory allocation purity via Digitalmars-d
- Re: Memory allocation purity Jonathan M Davis via Digitalmars-d
- Re: Memory allocation purity via Digitalmars-d
- Re: Memory allocation puri... Jonathan M Davis via Digitalmars-d
- Re: Memory allocation puri... via Digitalmars-d
- Re: Memory allocation purity luka8088 via Digitalmars-d
- Re: Memory allocation purity Jonathan M Davis via Digitalmars-d
- Re: Memory allocation purity Don via Digitalmars-d
- Re: Memory allocation puri... luka8088 via Digitalmars-d
- Re: Memory allocation ... Don via Digitalmars-d
- Re: Memory alloca... Jonathan M Davis via Digitalmars-d