> In another answer I have suggested a built-in @memoize that doesn't change > the purity of the function it is applied to (so a strongly immutable function > too may be memoized and keeps being strongly pure).
Ignore that, it's better to keep allow the usage of @memoize on strongly pure functions only. Bye, bearophile