Skip to main content

Questions tagged [pure-functions]

For questions about functions that give identical outputs for identical inputs between separate calls and do not have any program-visible side effects.

Filter by
Sorted by
Tagged with
7 votes
3 answers

How to verify function purity in an imperative language?

A pure function in an imperative language means one with no observable side-effects, which when called multiple times with identical arguments will always return identical results, and which doesn't ...
kaya3's user avatar
  • 19.7k