On 4/6/2012 9:04 PM, Jonathan M Davis wrote:
My _guess_ as to why toHash now requires purity is because the current AA implementation relies on it as part of the transition to proper constness and purity in Object and whatnot (the implementation isn't currently templated, so it can't take advantage of purity inference).
The reason for purity is so that it can be used in functional programming paradigms. FP is becoming increasingly important, and we need to make the foundational bits of Phobos as pure as possible.
_______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
