Functions as valuesbeginner
A function can be an argument and a return value, which is how once, memoize and retry work on any function at all without knowing what it does.
once, memoize and retry. Three functions that take a function and return one.
All three wrappers behave correctly, counted by how often the wrapped function actually ran.
Published in full, before you start — every point is one of these and there is nothing else. Each one runs your code; it is not a search for keywords.
A function can be an argument and a return value, which is how once, memoize and retry work on any function at all without knowing what it does.