Map Lambda with Side-Effects

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 13 03:26:01 PST 2015


ketmar:

> that will effectively rule out any usage of some global vars or 
> other
> external state, turning it into either unnecessary mess, or 
> unusable
> theoretical crap.

"Unusable theoretical crap" is better than the current trap :-)

We hare "pure" in D, but still we have not grown up to actually 
use it in Phobos, for higher order functions, or parallelism.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list