The input is the function, and the function is the same every time. You could have a pure function that takes another function as input, then doesn't execute it but e.g. decorates it and then returns it. Even if the function you pass in isn't pure itself, the function that it is passed into is pure - every time you pass in that same function, you'll get the same decorated function as output.
13
u/reeferd Aug 27 '16
If the input to a function always is random, then the input is never the same - or am I missing something here?