Improvement in pure functions specification

Johan Engelen via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 22 08:45:34 PST 2016


On Wednesday, 21 December 2016 at 22:08:58 UTC, Andrei 
Alexandrescu wrote:
>
> Well randomness is not available in pure functions.

Internet discussions... a misunderstanding, I should've been more 
careful.
I meant "an arbitrary boolean value", not something random (e.g. 
the version(LDC) thing).

> Anyhow I've reformulated the wording and added an example. The 
> sheer fact it works is pretty awesome.
>
> https://github.com/dlang/dlang.org/pull/1528

Perhaps you forgot to push, I see no update.


More information about the Digitalmars-d mailing list