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

bearophile bearophileHUGS at lycos.com
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:
http://d.puremagic.com/issues/show_bug.cgi?id=5249

Bye,
bearophile


More information about the Digitalmars-d mailing list