Simon: > Surely a pure inner function could access immutable vars from the outer > function and still be pure. You are right, thank you (and thank to Jonathan M. D.). Bye, bearophile