Hacker News new | ask | show | jobs
by ko27 2126 days ago
Well, that is not the definition. Output of a pure functions can depend on input arguments, and those arguments can definitely depend on runtime properties.

https://en.wikipedia.org/wiki/Pure_function