The One-Letter Nested Function - a sample article for some kind

bearophile bearophileHUGS at
Mon Feb 13 08:21:17 PST 2012

Zach the Mystic:

> But I'm 
> pretty sure uniform is NOT a pure function. In fact, generating random 
> numbers is about as far opposite a "pure" function as you can get, 
> right? :-)

Right, and sorry, I didn't see the function contents.
If I don't run the D code you have to assume it's wrong code.

Regarding pure random generators, I have asked it too:


More information about the Digitalmars-d mailing list