Pure functions in D

bearophile bearophileHUGS at lycos.com
Sat Sep 27 10:52:59 PDT 2008


Walter Bright:
> Bruno Medeiros:
> > Will memory allocation be considered pure?
> 
> I don't know yet. If memory allocation failure is a non-recoverable 
> exception, then pure functions can allocate memory.

Walter, I think you may ask that question here:
http://lambda-the-ultimate.org/
If the questions are asked honestly (and you explain that it is a quite important question, because it may determine part of the functional future of D), they are generally happy to answer all they know.

Bye,
bearophile



More information about the Digitalmars-d mailing list