https://stackoverflow.com/questions/54992302/pure-functions-does-no-side-effects-imply-always-same-output-given-same-inp Pure Functions: Does "No Side Effects" Imply "Always Same Output, Given Same Input"? The two conditions that define a function as pure are as follows: No side effects (i.e. only changes to local scope are allowed) Always return the same output, given the same input If the firs..